public static final class LFltSingle.MutFltSingle extends LFltSingle.AbstractFltSingle
Mutable, non-comparable tuple.
LFltSingle.AbstractFltSingle, LFltSingle.ComparableFltSingle, LFltSingle.ImmCompFltSingle, LFltSingle.ImmFltSingle, LFltSingle.MutCompFltSingle, LFltSingle.MutFltSingleLTuple.VoidSIZE| Constructor and Description |
|---|
MutFltSingle(float a) |
| Modifier and Type | Method and Description |
|---|---|
static LFltSingle.MutFltSingle |
copyOf(LFltSingle tuple) |
static LFltSingle.MutFltSingle |
of(float a) |
void |
reset() |
LFltSingle.MutFltSingle |
setValue(float value) |
LFltSingle.MutFltSingle |
setValueIf(float value,
LBiFltPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LFltSingle.MutFltSingle |
setValueIf(LBiFltPredicate predicate,
float value)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LFltSingle.MutFltSingle |
setValueIf(LFltPredicate predicate,
float value)
Sets value if predicate(current) OR current::predicate is true
|
LFltSingle.MutFltSingle |
setValueIfArg(float value,
LFltPredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LFltSingle.MutFltSingle |
setValueIfArgNotNull(R arg,
LToFltFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
|
float |
value() |
LFltSingle.MutFltSingle |
value(float value) |
equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitargEquals, argEquals, argHashCode, first, get, iterator, sizepublic static LFltSingle.MutFltSingle of(float a)
public static LFltSingle.MutFltSingle copyOf(LFltSingle tuple)
public float value()
public LFltSingle.MutFltSingle value(float value)
public LFltSingle.MutFltSingle setValue(float value)
public LFltSingle.MutFltSingle setValueIfArg(float value, LFltPredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LFltSingle.MutFltSingle setValueIfArgNotNull(R arg, LToFltFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
public LFltSingle.MutFltSingle setValueIf(LFltPredicate predicate, float value)
Sets value if predicate(current) OR current::predicate is true
public LFltSingle.MutFltSingle setValueIf(float value, LBiFltPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LFltSingle.MutFltSingle setValueIf(LBiFltPredicate predicate, float value)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
public void reset()
Copyright © 2019. All rights reserved.