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