| Package | Description |
|---|---|
| eu.lunisolar.magma.func.tuple |
| Modifier and Type | Method and Description |
|---|---|
static <T1 extends Comparable<T1>,T2 extends Comparable<T2>> |
Tuple4U.comparable(T1 a1,
T2 a2) |
static <T1 extends Comparable<T1>,T2 extends Comparable<T2>> |
LPair.MutCompPair.copyOf(LPair<T1,T2> tuple) |
LPair.MutCompPair<T1,T2> |
LPair.MutCompPair.first(T1 first) |
static <T1 extends Comparable<T1>,T2 extends Comparable<T2>> |
LPair.MutCompPair.of(T1 a1,
T2 a2) |
LPair.MutCompPair<T1,T2> |
LPair.MutCompPair.second(T2 second) |
LPair.MutCompPair<T1,T2> |
LPair.MutCompPair.setFirst(T1 first) |
LPair.MutCompPair<T1,T2> |
LPair.MutCompPair.setFirstIf(LBiPredicate<T1,T1> predicate,
T1 first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LPair.MutCompPair<T1,T2> |
LPair.MutCompPair.setFirstIf(LPredicate<T1> predicate,
T1 first)
Sets value if predicate(current) OR current::predicate is true
|
LPair.MutCompPair<T1,T2> |
LPair.MutCompPair.setFirstIf(T1 first,
LBiPredicate<T1,T1> predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LPair.MutCompPair<T1,T2> |
LPair.MutCompPair.setFirstIfArg(T1 first,
LPredicate<T1> predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LPair.MutCompPair<T1,T2> |
LPair.MutCompPair.setFirstIfArgNotNull(R arg,
LFunction<R,T1> func)
Sets value derived from non-null argument, only if argument is not null.
|
LPair.MutCompPair<T1,T2> |
LPair.MutCompPair.setSecond(T2 second) |
LPair.MutCompPair<T1,T2> |
LPair.MutCompPair.setSecondIf(LBiPredicate<T2,T2> predicate,
T2 second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LPair.MutCompPair<T1,T2> |
LPair.MutCompPair.setSecondIf(LPredicate<T2> predicate,
T2 second)
Sets value if predicate(current) OR current::predicate is true
|
LPair.MutCompPair<T1,T2> |
LPair.MutCompPair.setSecondIf(T2 second,
LBiPredicate<T2,T2> predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LPair.MutCompPair<T1,T2> |
LPair.MutCompPair.setSecondIfArg(T2 second,
LPredicate<T2> predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LPair.MutCompPair<T1,T2> |
LPair.MutCompPair.setSecondIfArgNotNull(R arg,
LFunction<R,T2> func)
Sets value derived from non-null argument, only if argument is not null.
|
Copyright © 2019. All rights reserved.