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