public class PairOfSameType<T> extends Pair<T,T>
| Constructor and Description |
|---|
PairOfSameType(T a,
T b) |
| Modifier and Type | Method and Description |
|---|---|
<S,X> S |
apply(BiFunction<X,X,S> f,
Function<T,X> op) |
boolean |
both(Function<T,Boolean> op) |
boolean |
either(Function<T,Boolean> op) |
void |
forEach(Consumer<T> op) |
Licenced under the Apache License, Version 2.0