[New] Added TypedTuple.hasBoth()
This commit is contained in:
parent
aa71a9efbe
commit
aa70597c90
|
@ -62,4 +62,8 @@ public class TypedTuple<T, U> {
|
|||
public boolean hasSecond() {
|
||||
return this.second != null;
|
||||
}
|
||||
|
||||
public boolean hasBoth() {
|
||||
return this.hasFirst() & this.hasSecond();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue