public static final class LObjIntBoolTriple.MutObjIntBoolTriple<T> extends LObjIntBoolTriple.AbstractObjIntBoolTriple<T>
Mutable, non-comparable tuple.
LObjIntBoolTriple.AbstractObjIntBoolTriple<T>, LObjIntBoolTriple.ComparableObjIntBoolTriple<T extends Comparable<T>>, LObjIntBoolTriple.ImmCompObjIntBoolTriple<T extends Comparable<T>>, LObjIntBoolTriple.ImmObjIntBoolTriple<T>, LObjIntBoolTriple.MutCompObjIntBoolTriple<T extends Comparable<T>>, LObjIntBoolTriple.MutObjIntBoolTriple<T>LObjIntPair.AbstractObjIntPair<T>, LObjIntPair.ComparableObjIntPair<T extends Comparable<T>>, LObjIntPair.ImmCompObjIntPair<T extends Comparable<T>>, LObjIntPair.ImmObjIntPair<T>, LObjIntPair.MutCompObjIntPair<T extends Comparable<T>>, LObjIntPair.MutObjIntPair<T>LSingle.AbstractSingle<T>, LSingle.ComparableSingle<T extends Comparable<T>>, LSingle.ImmCompSingle<T extends Comparable<T>>, LSingle.ImmSingle<T>, LSingle.MutCompSingle<T extends Comparable<T>>, LSingle.MutSingle<T>LTuple.VoidSIZE| Constructor and Description |
|---|
MutObjIntBoolTriple(T a1,
int a2,
boolean a3) |
| Modifier and Type | Method and Description |
|---|---|
static <T> LObjIntBoolTriple.MutObjIntBoolTriple<T> |
copyOf(LObjIntBoolTriple<T> tuple) |
T |
first() |
LObjIntBoolTriple.MutObjIntBoolTriple<T> |
first(T first) |
static <T> LObjIntBoolTriple.MutObjIntBoolTriple<T> |
of(T a1,
int a2,
boolean a3) |
void |
reset() |
int |
second() |
LObjIntBoolTriple.MutObjIntBoolTriple<T> |
second(int second) |
LObjIntBoolTriple.MutObjIntBoolTriple<T> |
setFirst(T first) |
LObjIntBoolTriple.MutObjIntBoolTriple<T> |
setFirstIf(LBiPredicate<T,T> predicate,
T first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LObjIntBoolTriple.MutObjIntBoolTriple<T> |
setFirstIf(LPredicate<T> predicate,
T first)
Sets value if predicate(current) OR current::predicate is true
|
LObjIntBoolTriple.MutObjIntBoolTriple<T> |
setFirstIf(T first,
LBiPredicate<T,T> predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LObjIntBoolTriple.MutObjIntBoolTriple<T> |
setFirstIfArg(T first,
LPredicate<T> predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LObjIntBoolTriple.MutObjIntBoolTriple<T> |
setFirstIfArgNotNull(R arg,
LFunction<R,T> func)
Sets value derived from non-null argument, only if argument is not null.
|
LObjIntBoolTriple.MutObjIntBoolTriple<T> |
setSecond(int second) |
LObjIntBoolTriple.MutObjIntBoolTriple<T> |
setSecondIf(int second,
LBiIntPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LObjIntBoolTriple.MutObjIntBoolTriple<T> |
setSecondIf(LBiIntPredicate predicate,
int second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LObjIntBoolTriple.MutObjIntBoolTriple<T> |
setSecondIf(LIntPredicate predicate,
int second)
Sets value if predicate(current) OR current::predicate is true
|
LObjIntBoolTriple.MutObjIntBoolTriple<T> |
setSecondIfArg(int second,
LIntPredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LObjIntBoolTriple.MutObjIntBoolTriple<T> |
setSecondIfArgNotNull(R arg,
LToIntFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
|
LObjIntBoolTriple.MutObjIntBoolTriple<T> |
setThird(boolean third) |
LObjIntBoolTriple.MutObjIntBoolTriple<T> |
setThirdIf(boolean third,
LLogicalBinaryOperator predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LObjIntBoolTriple.MutObjIntBoolTriple<T> |
setThirdIf(LLogicalBinaryOperator predicate,
boolean third)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LObjIntBoolTriple.MutObjIntBoolTriple<T> |
setThirdIf(LLogicalOperator predicate,
boolean third)
Sets value if predicate(current) OR current::predicate is true
|
LObjIntBoolTriple.MutObjIntBoolTriple<T> |
setThirdIfArg(boolean third,
LLogicalOperator predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LObjIntBoolTriple.MutObjIntBoolTriple<T> |
setThirdIfArgNotNull(R arg,
LPredicate<R> func)
Sets value derived from non-null argument, only if argument is not null.
|
boolean |
third() |
LObjIntBoolTriple.MutObjIntBoolTriple<T> |
third(boolean third) |
equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitargEquals, argEquals, argHashCode, get, iterator, size, valueargEquals, argEquals, argHashCodeargHashCodepublic MutObjIntBoolTriple(T a1, int a2, boolean a3)
public static <T> LObjIntBoolTriple.MutObjIntBoolTriple<T> of(T a1, int a2, boolean a3)
public static <T> LObjIntBoolTriple.MutObjIntBoolTriple<T> copyOf(LObjIntBoolTriple<T> tuple)
public T first()
public LObjIntBoolTriple.MutObjIntBoolTriple<T> first(T first)
public int second()
public LObjIntBoolTriple.MutObjIntBoolTriple<T> second(int second)
public boolean third()
public LObjIntBoolTriple.MutObjIntBoolTriple<T> third(boolean third)
public LObjIntBoolTriple.MutObjIntBoolTriple<T> setFirst(T first)
public LObjIntBoolTriple.MutObjIntBoolTriple<T> setFirstIfArg(T first, LPredicate<T> predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LObjIntBoolTriple.MutObjIntBoolTriple<T> setFirstIfArgNotNull(R arg, LFunction<R,T> func)
Sets value derived from non-null argument, only if argument is not null.
public LObjIntBoolTriple.MutObjIntBoolTriple<T> setFirstIf(LPredicate<T> predicate, T first)
Sets value if predicate(current) OR current::predicate is true
public LObjIntBoolTriple.MutObjIntBoolTriple<T> setFirstIf(T first, LBiPredicate<T,T> predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LObjIntBoolTriple.MutObjIntBoolTriple<T> setFirstIf(LBiPredicate<T,T> predicate, T first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
public LObjIntBoolTriple.MutObjIntBoolTriple<T> setSecond(int second)
public LObjIntBoolTriple.MutObjIntBoolTriple<T> setSecondIfArg(int second, LIntPredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LObjIntBoolTriple.MutObjIntBoolTriple<T> setSecondIfArgNotNull(R arg, LToIntFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
public LObjIntBoolTriple.MutObjIntBoolTriple<T> setSecondIf(LIntPredicate predicate, int second)
Sets value if predicate(current) OR current::predicate is true
public LObjIntBoolTriple.MutObjIntBoolTriple<T> setSecondIf(int second, LBiIntPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LObjIntBoolTriple.MutObjIntBoolTriple<T> setSecondIf(LBiIntPredicate predicate, int second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
public LObjIntBoolTriple.MutObjIntBoolTriple<T> setThird(boolean third)
public LObjIntBoolTriple.MutObjIntBoolTriple<T> setThirdIfArg(boolean third, LLogicalOperator predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LObjIntBoolTriple.MutObjIntBoolTriple<T> setThirdIfArgNotNull(R arg, LPredicate<R> func)
Sets value derived from non-null argument, only if argument is not null.
public LObjIntBoolTriple.MutObjIntBoolTriple<T> setThirdIf(LLogicalOperator predicate, boolean third)
Sets value if predicate(current) OR current::predicate is true
public LObjIntBoolTriple.MutObjIntBoolTriple<T> setThirdIf(boolean third, LLogicalBinaryOperator predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LObjIntBoolTriple.MutObjIntBoolTriple<T> 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.