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