public static final class LObjIntObjTriple.MutObjIntObjTriple<T1,T2> extends LObjIntObjTriple.AbstractObjIntObjTriple<T1,T2>
Mutable, non-comparable tuple.
LObjIntObjTriple.AbstractObjIntObjTriple<T1,T2>, LObjIntObjTriple.ComparableObjIntObjTriple<T1 extends Comparable<T1>,T2 extends Comparable<T2>>, LObjIntObjTriple.ImmCompObjIntObjTriple<T1 extends Comparable<T1>,T2 extends Comparable<T2>>, LObjIntObjTriple.ImmObjIntObjTriple<T1,T2>, LObjIntObjTriple.MutCompObjIntObjTriple<T1 extends Comparable<T1>,T2 extends Comparable<T2>>, LObjIntObjTriple.MutObjIntObjTriple<T1,T2>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 |
|---|
MutObjIntObjTriple(T1 a1,
int a2,
T2 a3) |
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2> LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
copyOf(LObjIntObjTriple<T1,T2> tuple) |
T1 |
first() |
LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
first(T1 first) |
static <T1,T2> LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
of(T1 a1,
int a2,
T2 a3) |
void |
reset() |
int |
second() |
LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
second(int second) |
LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
setFirst(T1 first) |
LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
setFirstIf(LBiPredicate<T1,T1> predicate,
T1 first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
setFirstIf(LPredicate<T1> predicate,
T1 first)
Sets value if predicate(current) OR current::predicate is true
|
LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
setFirstIf(T1 first,
LBiPredicate<T1,T1> predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
setFirstIfArg(T1 first,
LPredicate<T1> predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
setFirstIfArgNotNull(R arg,
LFunction<R,T1> func)
Sets value derived from non-null argument, only if argument is not null.
|
LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
setSecond(int second) |
LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
setSecondIf(int second,
LBiIntPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
setSecondIf(LBiIntPredicate predicate,
int second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
setSecondIf(LIntPredicate predicate,
int second)
Sets value if predicate(current) OR current::predicate is true
|
LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
setSecondIfArg(int second,
LIntPredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
setSecondIfArgNotNull(R arg,
LToIntFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
|
LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
setThird(T2 third) |
LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
setThirdIf(LBiPredicate<T2,T2> predicate,
T2 third)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
setThirdIf(LPredicate<T2> predicate,
T2 third)
Sets value if predicate(current) OR current::predicate is true
|
LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
setThirdIf(T2 third,
LBiPredicate<T2,T2> predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
setThirdIfArg(T2 third,
LPredicate<T2> predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
setThirdIfArgNotNull(R arg,
LFunction<R,T2> func)
Sets value derived from non-null argument, only if argument is not null.
|
T2 |
third() |
LObjIntObjTriple.MutObjIntObjTriple<T1,T2> |
third(T2 third) |
equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitargEquals, argEquals, argHashCode, get, iterator, size, valueargEquals, argEquals, argHashCodeargHashCodepublic static <T1,T2> LObjIntObjTriple.MutObjIntObjTriple<T1,T2> of(T1 a1, int a2, T2 a3)
public static <T1,T2> LObjIntObjTriple.MutObjIntObjTriple<T1,T2> copyOf(LObjIntObjTriple<T1,T2> tuple)
public T1 first()
public LObjIntObjTriple.MutObjIntObjTriple<T1,T2> first(T1 first)
public int second()
public LObjIntObjTriple.MutObjIntObjTriple<T1,T2> second(int second)
public T2 third()
public LObjIntObjTriple.MutObjIntObjTriple<T1,T2> third(T2 third)
public LObjIntObjTriple.MutObjIntObjTriple<T1,T2> setFirst(T1 first)
public LObjIntObjTriple.MutObjIntObjTriple<T1,T2> setFirstIfArg(T1 first, LPredicate<T1> predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LObjIntObjTriple.MutObjIntObjTriple<T1,T2> setFirstIfArgNotNull(R arg, LFunction<R,T1> func)
Sets value derived from non-null argument, only if argument is not null.
public LObjIntObjTriple.MutObjIntObjTriple<T1,T2> setFirstIf(LPredicate<T1> predicate, T1 first)
Sets value if predicate(current) OR current::predicate is true
public LObjIntObjTriple.MutObjIntObjTriple<T1,T2> setFirstIf(T1 first, LBiPredicate<T1,T1> predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LObjIntObjTriple.MutObjIntObjTriple<T1,T2> setFirstIf(LBiPredicate<T1,T1> predicate, T1 first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
public LObjIntObjTriple.MutObjIntObjTriple<T1,T2> setSecond(int second)
public LObjIntObjTriple.MutObjIntObjTriple<T1,T2> setSecondIfArg(int second, LIntPredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LObjIntObjTriple.MutObjIntObjTriple<T1,T2> setSecondIfArgNotNull(R arg, LToIntFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
public LObjIntObjTriple.MutObjIntObjTriple<T1,T2> setSecondIf(LIntPredicate predicate, int second)
Sets value if predicate(current) OR current::predicate is true
public LObjIntObjTriple.MutObjIntObjTriple<T1,T2> setSecondIf(int second, LBiIntPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LObjIntObjTriple.MutObjIntObjTriple<T1,T2> setSecondIf(LBiIntPredicate predicate, int second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
public LObjIntObjTriple.MutObjIntObjTriple<T1,T2> setThird(T2 third)
public LObjIntObjTriple.MutObjIntObjTriple<T1,T2> setThirdIfArg(T2 third, LPredicate<T2> predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LObjIntObjTriple.MutObjIntObjTriple<T1,T2> setThirdIfArgNotNull(R arg, LFunction<R,T2> func)
Sets value derived from non-null argument, only if argument is not null.
public LObjIntObjTriple.MutObjIntObjTriple<T1,T2> setThirdIf(LPredicate<T2> predicate, T2 third)
Sets value if predicate(current) OR current::predicate is true
public LObjIntObjTriple.MutObjIntObjTriple<T1,T2> setThirdIf(T2 third, LBiPredicate<T2,T2> predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LObjIntObjTriple.MutObjIntObjTriple<T1,T2> setThirdIf(LBiPredicate<T2,T2> predicate, T2 third)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
public void reset()
Copyright © 2019. All rights reserved.