public static final class LByteSingle.MutByteSingle extends LByteSingle.AbstractByteSingle
Mutable, non-comparable tuple.
LByteSingle.AbstractByteSingle, LByteSingle.ComparableByteSingle, LByteSingle.ImmByteSingle, LByteSingle.ImmCompByteSingle, LByteSingle.MutByteSingle, LByteSingle.MutCompByteSingleLTuple.VoidSIZE| Constructor and Description |
|---|
MutByteSingle(byte a) |
| Modifier and Type | Method and Description |
|---|---|
static LByteSingle.MutByteSingle |
copyOf(LByteSingle tuple) |
static LByteSingle.MutByteSingle |
of(byte a) |
void |
reset() |
LByteSingle.MutByteSingle |
setValue(byte value) |
LByteSingle.MutByteSingle |
setValueIf(byte value,
LBiBytePredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LByteSingle.MutByteSingle |
setValueIf(LBiBytePredicate predicate,
byte value)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LByteSingle.MutByteSingle |
setValueIf(LBytePredicate predicate,
byte value)
Sets value if predicate(current) OR current::predicate is true
|
LByteSingle.MutByteSingle |
setValueIfArg(byte value,
LBytePredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LByteSingle.MutByteSingle |
setValueIfArgNotNull(R arg,
LToByteFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
|
byte |
value() |
LByteSingle.MutByteSingle |
value(byte value) |
equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitargEquals, argEquals, argHashCode, first, get, iterator, sizepublic static LByteSingle.MutByteSingle of(byte a)
public static LByteSingle.MutByteSingle copyOf(LByteSingle tuple)
public byte value()
public LByteSingle.MutByteSingle value(byte value)
public LByteSingle.MutByteSingle setValue(byte value)
public LByteSingle.MutByteSingle setValueIfArg(byte value, LBytePredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LByteSingle.MutByteSingle setValueIfArgNotNull(R arg, LToByteFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
public LByteSingle.MutByteSingle setValueIf(LBytePredicate predicate, byte value)
Sets value if predicate(current) OR current::predicate is true
public LByteSingle.MutByteSingle setValueIf(byte value, LBiBytePredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LByteSingle.MutByteSingle setValueIf(LBiBytePredicate predicate, byte value)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
public void reset()
Copyright © 2019. All rights reserved.