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