All Methods Static Methods Instance Methods Abstract Methods Default Methods
| Modifier and Type |
Method and Description |
default <T> T |
apply(java.util.function.BiFunction<? super L,? super R,? extends T> function) |
static <K,V> java.util.function.BinaryOperator<Pair<K,V>> |
asBinaryOperator(QuaternaryFunction<K,V,K,V,Pair<K,V>> f) |
static <K,V> java.util.function.Consumer<? super Pair<K,V>> |
asConsumer(java.util.function.BiConsumer<? super K,? super V> action) |
static <K,V,R> java.util.function.Function<? super Pair<K,V>,? extends R> |
asFunction(java.util.function.BiFunction<? super K,? super V,? extends R> mapper) |
static <K,V> java.util.function.Predicate<? super Pair<K,V>> |
asPredicate(java.util.function.BiPredicate<? super K,? super V> predicate) |
static <K,V,KK,VV> java.util.function.UnaryOperator<Pair<KK,VV>> |
asUnaryOperator(java.util.function.BiFunction<? super K,? super V,? extends Pair<KK,VV>> f,
java.util.function.BiFunction<? super KK,? super VV,? extends Pair<K,V>> g) |
static <K,V> java.util.function.UnaryOperator<Pair<K,V>> |
asUnaryOperator(java.util.function.BiFunction<? super K,? super V,? extends Pair<K,V>> op) |
static <K,V> Pair<K,V> |
from(java.util.Map.Entry<? extends K,? extends V> entry) |
default L |
getKey() |
L |
getLeft() |
R |
getRight() |
default R |
getValue() |
default <T> java.util.Iterator<T> |
iterator() |
default <LL,RR> Pair<LL,RR> |
map(java.util.function.BiFunction<? super L,? super R,? extends Pair<LL,RR>> mapper) |
default <LL,RR> Pair<LL,RR> |
map(java.util.function.Function<? super L,? extends LL> leftMapper,
java.util.function.Function<? super R,? extends RR> rightMapper) |
static <T,U> Pair<T,U> |
of(T left,
U right) |
default java.util.Map<L,R> |
put(java.util.Map<L,R> map) |
default R |
setValue(R value) |
default <RR> Pair<R,RR> |
shiftLeft(RR replacement) |
default <LL> Pair<LL,L> |
shiftRight(LL replacement) |
default Pair<R,L> |
swap() |
default boolean |
test(java.util.function.BiPredicate<? super L,? super R> predicate) |
default boolean |
test(java.util.function.Predicate<? super L> leftPredicate,
java.util.function.Predicate<? super R> rightPredicate) |
static <T> Pair<T,T> |
unary(T item) |
default <LL> Pair<LL,R> |
withLeft(LL left) |
default <RR> Pair<L,RR> |
withRight(RR right) |