| Package | Description |
|---|---|
| eu.lunisolar.magma.func.tuple |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Comparable<T>> |
Tuple4U.comparable(T a) |
static <T extends Comparable<T>> |
LSingle.MutCompSingle.copyOf(LSingle<T> tuple) |
static <T extends Comparable<T>> |
LSingle.MutCompSingle.of(T a) |
LSingle.MutCompSingle<T> |
LSingle.MutCompSingle.setValue(T value) |
LSingle.MutCompSingle<T> |
LSingle.MutCompSingle.setValueIf(LBiPredicate<T,T> predicate,
T value)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LSingle.MutCompSingle<T> |
LSingle.MutCompSingle.setValueIf(LPredicate<T> predicate,
T value)
Sets value if predicate(current) OR current::predicate is true
|
LSingle.MutCompSingle<T> |
LSingle.MutCompSingle.setValueIf(T value,
LBiPredicate<T,T> predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LSingle.MutCompSingle<T> |
LSingle.MutCompSingle.setValueIfArg(T value,
LPredicate<T> predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LSingle.MutCompSingle<T> |
LSingle.MutCompSingle.setValueIfArgNotNull(R arg,
LFunction<R,T> func)
Sets value derived from non-null argument, only if argument is not null.
|
LSingle.MutCompSingle<T> |
LSingle.MutCompSingle.value(T value) |
Copyright © 2019. All rights reserved.