[New] Added TypedTuple.hasBoth()

This commit is contained in:
Robert von Burg 2022-02-28 15:50:44 +01:00
parent aa71a9efbe
commit aa70597c90
1 changed files with 4 additions and 0 deletions

View File

@ -62,4 +62,8 @@ public class TypedTuple<T, U> {
public boolean hasSecond() {
return this.second != null;
}
public boolean hasBoth() {
return this.hasFirst() & this.hasSecond();
}
}