public static final class LBoolTriple.MutCompBoolTriple extends LBoolTriple.AbstractBoolTriple implements LBoolTriple.ComparableBoolTriple
Mutable, 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 |
|---|
MutCompBoolTriple(boolean a1,
boolean a2,
boolean a3) |
| Modifier and Type | Method and Description |
|---|---|
static LBoolTriple.MutCompBoolTriple |
copyOf(LBoolTriple tuple) |
boolean |
first() |
LBoolTriple.MutCompBoolTriple |
first(boolean first) |
static LBoolTriple.MutCompBoolTriple |
of(boolean a1,
boolean a2,
boolean a3) |
void |
reset() |
boolean |
second() |
LBoolTriple.MutCompBoolTriple |
second(boolean second) |
LBoolTriple.MutCompBoolTriple |
setFirst(boolean first) |
LBoolTriple.MutCompBoolTriple |
setFirstIf(boolean first,
LLogicalBinaryOperator predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LBoolTriple.MutCompBoolTriple |
setFirstIf(LLogicalBinaryOperator predicate,
boolean first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LBoolTriple.MutCompBoolTriple |
setFirstIf(LLogicalOperator predicate,
boolean first)
Sets value if predicate(current) OR current::predicate is true
|
LBoolTriple.MutCompBoolTriple |
setFirstIfArg(boolean first,
LLogicalOperator predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LBoolTriple.MutCompBoolTriple |
setFirstIfArgNotNull(R arg,
LPredicate<R> func)
Sets value derived from non-null argument, only if argument is not null.
|
LBoolTriple.MutCompBoolTriple |
setSecond(boolean second) |
LBoolTriple.MutCompBoolTriple |
setSecondIf(boolean second,
LLogicalBinaryOperator predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LBoolTriple.MutCompBoolTriple |
setSecondIf(LLogicalBinaryOperator predicate,
boolean second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LBoolTriple.MutCompBoolTriple |
setSecondIf(LLogicalOperator predicate,
boolean second)
Sets value if predicate(current) OR current::predicate is true
|
LBoolTriple.MutCompBoolTriple |
setSecondIfArg(boolean second,
LLogicalOperator predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LBoolTriple.MutCompBoolTriple |
setSecondIfArgNotNull(R arg,
LPredicate<R> func)
Sets value derived from non-null argument, only if argument is not null.
|
LBoolTriple.MutCompBoolTriple |
setThird(boolean third) |
LBoolTriple.MutCompBoolTriple |
setThirdIf(boolean third,
LLogicalBinaryOperator predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LBoolTriple.MutCompBoolTriple |
setThirdIf(LLogicalBinaryOperator predicate,
boolean third)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LBoolTriple.MutCompBoolTriple |
setThirdIf(LLogicalOperator predicate,
boolean third)
Sets value if predicate(current) OR current::predicate is true
|
LBoolTriple.MutCompBoolTriple |
setThirdIfArg(boolean third,
LLogicalOperator predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LBoolTriple.MutCompBoolTriple |
setThirdIfArgNotNull(R arg,
LPredicate<R> func)
Sets value derived from non-null argument, only if argument is not null.
|
boolean |
third() |
LBoolTriple.MutCompBoolTriple |
third(boolean third) |
equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareToargEquals, argEquals, argHashCode, get, iterator, size, valueargEquals, argEquals, argHashCodeargEquals, argEquals, argHashCodepublic static LBoolTriple.MutCompBoolTriple of(boolean a1, boolean a2, boolean a3)
public static LBoolTriple.MutCompBoolTriple copyOf(LBoolTriple tuple)
public boolean first()
first in interface LBoolPairfirst in interface LBoolSinglefirst in interface LBoolTriplepublic LBoolTriple.MutCompBoolTriple first(boolean first)
public boolean second()
second in interface LBoolPairsecond in interface LBoolTriplepublic LBoolTriple.MutCompBoolTriple second(boolean second)
public boolean third()
third in interface LBoolTriplepublic LBoolTriple.MutCompBoolTriple third(boolean third)
public LBoolTriple.MutCompBoolTriple setFirst(boolean first)
public LBoolTriple.MutCompBoolTriple setFirstIfArg(boolean first, LLogicalOperator predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LBoolTriple.MutCompBoolTriple setFirstIfArgNotNull(R arg, LPredicate<R> func)
Sets value derived from non-null argument, only if argument is not null.
public LBoolTriple.MutCompBoolTriple setFirstIf(LLogicalOperator predicate, boolean first)
Sets value if predicate(current) OR current::predicate is true
public LBoolTriple.MutCompBoolTriple setFirstIf(boolean first, LLogicalBinaryOperator predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LBoolTriple.MutCompBoolTriple setFirstIf(LLogicalBinaryOperator predicate, boolean first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
public LBoolTriple.MutCompBoolTriple setSecond(boolean second)
public LBoolTriple.MutCompBoolTriple setSecondIfArg(boolean second, LLogicalOperator predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LBoolTriple.MutCompBoolTriple setSecondIfArgNotNull(R arg, LPredicate<R> func)
Sets value derived from non-null argument, only if argument is not null.
public LBoolTriple.MutCompBoolTriple setSecondIf(LLogicalOperator predicate, boolean second)
Sets value if predicate(current) OR current::predicate is true
public LBoolTriple.MutCompBoolTriple setSecondIf(boolean second, LLogicalBinaryOperator predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LBoolTriple.MutCompBoolTriple setSecondIf(LLogicalBinaryOperator predicate, boolean second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
public LBoolTriple.MutCompBoolTriple setThird(boolean third)
public LBoolTriple.MutCompBoolTriple setThirdIfArg(boolean third, LLogicalOperator predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LBoolTriple.MutCompBoolTriple setThirdIfArgNotNull(R arg, LPredicate<R> func)
Sets value derived from non-null argument, only if argument is not null.
public LBoolTriple.MutCompBoolTriple setThirdIf(LLogicalOperator predicate, boolean third)
Sets value if predicate(current) OR current::predicate is true
public LBoolTriple.MutCompBoolTriple setThirdIf(boolean third, LLogicalBinaryOperator predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LBoolTriple.MutCompBoolTriple 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.