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