public static final class LBoolTriple.MutBoolTriple extends LBoolTriple.AbstractBoolTriple
Mutable, non-comparable tuple.
LBoolTriple.AbstractBoolTriple, LBoolTriple.ComparableBoolTriple, LBoolTriple.ImmBoolTriple, LBoolTriple.ImmCompBoolTriple, LBoolTriple.MutBoolTriple, LBoolTriple.MutCompBoolTripleLBoolPair.AbstractBoolPair, LBoolPair.ComparableBoolPair, LBoolPair.ImmBoolPair, LBoolPair.ImmCompBoolPair, LBoolPair.MutBoolPair, LBoolPair.MutCompBoolPairLBoolSingle.AbstractBoolSingle, LBoolSingle.ComparableBoolSingle, LBoolSingle.ImmBoolSingle, LBoolSingle.ImmCompBoolSingle, LBoolSingle.MutBoolSingle, LBoolSingle.MutCompBoolSingleLTuple.VoidSIZE| Constructor and Description |
|---|
MutBoolTriple(boolean a1,
boolean a2,
boolean a3) |
| Modifier and Type | Method and Description |
|---|---|
static LBoolTriple.MutBoolTriple |
copyOf(LBoolTriple tuple) |
boolean |
first() |
LBoolTriple.MutBoolTriple |
first(boolean first) |
static LBoolTriple.MutBoolTriple |
of(boolean a1,
boolean a2,
boolean a3) |
void |
reset() |
boolean |
second() |
LBoolTriple.MutBoolTriple |
second(boolean second) |
LBoolTriple.MutBoolTriple |
setFirst(boolean first) |
LBoolTriple.MutBoolTriple |
setFirstIf(boolean first,
LLogicalBinaryOperator predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LBoolTriple.MutBoolTriple |
setFirstIf(LLogicalBinaryOperator predicate,
boolean first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LBoolTriple.MutBoolTriple |
setFirstIf(LLogicalOperator predicate,
boolean first)
Sets value if predicate(current) OR current::predicate is true
|
LBoolTriple.MutBoolTriple |
setFirstIfArg(boolean first,
LLogicalOperator predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LBoolTriple.MutBoolTriple |
setFirstIfArgNotNull(R arg,
LPredicate<R> func)
Sets value derived from non-null argument, only if argument is not null.
|
LBoolTriple.MutBoolTriple |
setSecond(boolean second) |
LBoolTriple.MutBoolTriple |
setSecondIf(boolean second,
LLogicalBinaryOperator predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LBoolTriple.MutBoolTriple |
setSecondIf(LLogicalBinaryOperator predicate,
boolean second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LBoolTriple.MutBoolTriple |
setSecondIf(LLogicalOperator predicate,
boolean second)
Sets value if predicate(current) OR current::predicate is true
|
LBoolTriple.MutBoolTriple |
setSecondIfArg(boolean second,
LLogicalOperator predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LBoolTriple.MutBoolTriple |
setSecondIfArgNotNull(R arg,
LPredicate<R> func)
Sets value derived from non-null argument, only if argument is not null.
|
LBoolTriple.MutBoolTriple |
setThird(boolean third) |
LBoolTriple.MutBoolTriple |
setThirdIf(boolean third,
LLogicalBinaryOperator predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LBoolTriple.MutBoolTriple |
setThirdIf(LLogicalBinaryOperator predicate,
boolean third)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LBoolTriple.MutBoolTriple |
setThirdIf(LLogicalOperator predicate,
boolean third)
Sets value if predicate(current) OR current::predicate is true
|
LBoolTriple.MutBoolTriple |
setThirdIfArg(boolean third,
LLogicalOperator predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LBoolTriple.MutBoolTriple |
setThirdIfArgNotNull(R arg,
LPredicate<R> func)
Sets value derived from non-null argument, only if argument is not null.
|
boolean |
third() |
LBoolTriple.MutBoolTriple |
third(boolean third) |
equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitargEquals, argEquals, argHashCode, get, iterator, size, valueargEquals, argEquals, argHashCodeargEquals, argEquals, argHashCodepublic static LBoolTriple.MutBoolTriple of(boolean a1, boolean a2, boolean a3)
public static LBoolTriple.MutBoolTriple copyOf(LBoolTriple tuple)
public boolean first()
public LBoolTriple.MutBoolTriple first(boolean first)
public boolean second()
public LBoolTriple.MutBoolTriple second(boolean second)
public boolean third()
public LBoolTriple.MutBoolTriple third(boolean third)
public LBoolTriple.MutBoolTriple setFirst(boolean first)
public LBoolTriple.MutBoolTriple setFirstIfArg(boolean first, LLogicalOperator predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LBoolTriple.MutBoolTriple setFirstIfArgNotNull(R arg, LPredicate<R> func)
Sets value derived from non-null argument, only if argument is not null.
public LBoolTriple.MutBoolTriple setFirstIf(LLogicalOperator predicate, boolean first)
Sets value if predicate(current) OR current::predicate is true
public LBoolTriple.MutBoolTriple setFirstIf(boolean first, LLogicalBinaryOperator predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LBoolTriple.MutBoolTriple setFirstIf(LLogicalBinaryOperator predicate, boolean first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
public LBoolTriple.MutBoolTriple setSecond(boolean second)
public LBoolTriple.MutBoolTriple setSecondIfArg(boolean second, LLogicalOperator predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LBoolTriple.MutBoolTriple setSecondIfArgNotNull(R arg, LPredicate<R> func)
Sets value derived from non-null argument, only if argument is not null.
public LBoolTriple.MutBoolTriple setSecondIf(LLogicalOperator predicate, boolean second)
Sets value if predicate(current) OR current::predicate is true
public LBoolTriple.MutBoolTriple setSecondIf(boolean second, LLogicalBinaryOperator predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LBoolTriple.MutBoolTriple setSecondIf(LLogicalBinaryOperator predicate, boolean second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
public LBoolTriple.MutBoolTriple setThird(boolean third)
public LBoolTriple.MutBoolTriple setThirdIfArg(boolean third, LLogicalOperator predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LBoolTriple.MutBoolTriple setThirdIfArgNotNull(R arg, LPredicate<R> func)
Sets value derived from non-null argument, only if argument is not null.
public LBoolTriple.MutBoolTriple setThirdIf(LLogicalOperator predicate, boolean third)
Sets value if predicate(current) OR current::predicate is true
public LBoolTriple.MutBoolTriple setThirdIf(boolean third, LLogicalBinaryOperator predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LBoolTriple.MutBoolTriple setThirdIf(LLogicalBinaryOperator predicate, boolean third)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
public void reset()
Copyright © 2019. All rights reserved.