public static final class LBoolSingle.MutCompBoolSingle extends LBoolSingle.AbstractBoolSingle implements LBoolSingle.ComparableBoolSingle
Mutable, comparable tuple.
LBoolSingle.AbstractBoolSingle, LBoolSingle.ComparableBoolSingle, LBoolSingle.ImmBoolSingle, LBoolSingle.ImmCompBoolSingle, LBoolSingle.MutBoolSingle, LBoolSingle.MutCompBoolSingleLTuple.VoidSIZE| Constructor and Description |
|---|
MutCompBoolSingle(boolean a) |
| Modifier and Type | Method and Description |
|---|---|
static LBoolSingle.MutCompBoolSingle |
copyOf(LBoolSingle tuple) |
static LBoolSingle.MutCompBoolSingle |
of(boolean a) |
void |
reset() |
LBoolSingle.MutCompBoolSingle |
setValue(boolean value) |
LBoolSingle.MutCompBoolSingle |
setValueIf(boolean value,
LLogicalBinaryOperator predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LBoolSingle.MutCompBoolSingle |
setValueIf(LLogicalBinaryOperator predicate,
boolean value)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LBoolSingle.MutCompBoolSingle |
setValueIf(LLogicalOperator predicate,
boolean value)
Sets value if predicate(current) OR current::predicate is true
|
LBoolSingle.MutCompBoolSingle |
setValueIfArg(boolean value,
LLogicalOperator predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LBoolSingle.MutCompBoolSingle |
setValueIfArgNotNull(R arg,
LPredicate<R> func)
Sets value derived from non-null argument, only if argument is not null.
|
boolean |
value() |
LBoolSingle.MutCompBoolSingle |
value(boolean value) |
equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareToargEquals, argEquals, argHashCode, first, get, iterator, sizepublic static LBoolSingle.MutCompBoolSingle of(boolean a)
public static LBoolSingle.MutCompBoolSingle copyOf(LBoolSingle tuple)
public boolean value()
value in interface LBoolSinglepublic LBoolSingle.MutCompBoolSingle value(boolean value)
public LBoolSingle.MutCompBoolSingle setValue(boolean value)
public LBoolSingle.MutCompBoolSingle setValueIfArg(boolean value, LLogicalOperator predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LBoolSingle.MutCompBoolSingle setValueIfArgNotNull(R arg, LPredicate<R> func)
Sets value derived from non-null argument, only if argument is not null.
public LBoolSingle.MutCompBoolSingle setValueIf(LLogicalOperator predicate, boolean value)
Sets value if predicate(current) OR current::predicate is true
public LBoolSingle.MutCompBoolSingle setValueIf(boolean value, LLogicalBinaryOperator predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LBoolSingle.MutCompBoolSingle setValueIf(LLogicalBinaryOperator predicate, boolean value)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
public void reset()
Copyright © 2019. All rights reserved.