public static final class LBiObjLongTriple.MutCompBiObjLongTriple<T1 extends Comparable<T1>,T2 extends Comparable<T2>> extends LBiObjLongTriple.AbstractBiObjLongTriple<T1,T2> implements LBiObjLongTriple.ComparableBiObjLongTriple<T1,T2>
Mutable, comparable tuple.
LBiObjLongTriple.AbstractBiObjLongTriple<T1,T2>, LBiObjLongTriple.ComparableBiObjLongTriple<T1 extends Comparable<T1>,T2 extends Comparable<T2>>, LBiObjLongTriple.ImmBiObjLongTriple<T1,T2>, LBiObjLongTriple.ImmCompBiObjLongTriple<T1 extends Comparable<T1>,T2 extends Comparable<T2>>, LBiObjLongTriple.MutBiObjLongTriple<T1,T2>, LBiObjLongTriple.MutCompBiObjLongTriple<T1 extends Comparable<T1>,T2 extends Comparable<T2>>LPair.AbstractPair<T1,T2>, LPair.ComparablePair<T1 extends Comparable<T1>,T2 extends Comparable<T2>>, LPair.ImmCompPair<T1 extends Comparable<T1>,T2 extends Comparable<T2>>, LPair.ImmPair<T1,T2>, LPair.MutCompPair<T1 extends Comparable<T1>,T2 extends Comparable<T2>>, LPair.MutPair<T1,T2>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 |
|---|
MutCompBiObjLongTriple(T1 a1,
T2 a2,
long a3) |
| Modifier and Type | Method and Description |
|---|---|
static <T1 extends Comparable<T1>,T2 extends Comparable<T2>> |
copyOf(LBiObjLongTriple<T1,T2> tuple) |
T1 |
first() |
LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
first(T1 first) |
static <T1 extends Comparable<T1>,T2 extends Comparable<T2>> |
of(T1 a1,
T2 a2,
long a3) |
void |
reset() |
T2 |
second() |
LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
second(T2 second) |
LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
setFirst(T1 first) |
LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
setFirstIf(LBiPredicate<T1,T1> predicate,
T1 first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
setFirstIf(LPredicate<T1> predicate,
T1 first)
Sets value if predicate(current) OR current::predicate is true
|
LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
setFirstIf(T1 first,
LBiPredicate<T1,T1> predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
setFirstIfArg(T1 first,
LPredicate<T1> predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
setFirstIfArgNotNull(R arg,
LFunction<R,T1> func)
Sets value derived from non-null argument, only if argument is not null.
|
LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
setSecond(T2 second) |
LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
setSecondIf(LBiPredicate<T2,T2> predicate,
T2 second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
setSecondIf(LPredicate<T2> predicate,
T2 second)
Sets value if predicate(current) OR current::predicate is true
|
LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
setSecondIf(T2 second,
LBiPredicate<T2,T2> predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
setSecondIfArg(T2 second,
LPredicate<T2> predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
setSecondIfArgNotNull(R arg,
LFunction<R,T2> func)
Sets value derived from non-null argument, only if argument is not null.
|
LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
setThird(long third) |
LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
setThirdIf(LBiLongPredicate predicate,
long third)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
setThirdIf(LLongPredicate predicate,
long third)
Sets value if predicate(current) OR current::predicate is true
|
LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
setThirdIf(long third,
LBiLongPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
setThirdIfArg(long third,
LLongPredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
setThirdIfArgNotNull(R arg,
LToLongFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
|
long |
third() |
LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
third(long third) |
equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareToargEquals, argEquals, argHashCode, get, iterator, size, valueargEquals, argEquals, argHashCode, getKey, getValue, setValueargHashCodecomparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCodepublic static <T1 extends Comparable<T1>,T2 extends Comparable<T2>> LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> of(T1 a1, T2 a2, long a3)
public static <T1 extends Comparable<T1>,T2 extends Comparable<T2>> LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> copyOf(LBiObjLongTriple<T1,T2> tuple)
public T1 first()
first in interface LBiObjLongTriple<T1 extends Comparable<T1>,T2 extends Comparable<T2>>first in interface LPair<T1 extends Comparable<T1>,T2 extends Comparable<T2>>first in interface LSingle<T1 extends Comparable<T1>>public LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> first(T1 first)
public T2 second()
second in interface LBiObjLongTriple<T1 extends Comparable<T1>,T2 extends Comparable<T2>>second in interface LPair<T1 extends Comparable<T1>,T2 extends Comparable<T2>>public LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> second(T2 second)
public long third()
third in interface LBiObjLongTriple<T1 extends Comparable<T1>,T2 extends Comparable<T2>>public LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> third(long third)
public LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> setFirst(T1 first)
public LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> setFirstIfArg(T1 first, LPredicate<T1> predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> setFirstIfArgNotNull(R arg, LFunction<R,T1> func)
Sets value derived from non-null argument, only if argument is not null.
public LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> setFirstIf(LPredicate<T1> predicate, T1 first)
Sets value if predicate(current) OR current::predicate is true
public LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> setFirstIf(T1 first, LBiPredicate<T1,T1> predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> setFirstIf(LBiPredicate<T1,T1> predicate, T1 first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
public LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> setSecond(T2 second)
public LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> setSecondIfArg(T2 second, LPredicate<T2> predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> setSecondIfArgNotNull(R arg, LFunction<R,T2> func)
Sets value derived from non-null argument, only if argument is not null.
public LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> setSecondIf(LPredicate<T2> predicate, T2 second)
Sets value if predicate(current) OR current::predicate is true
public LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> setSecondIf(T2 second, LBiPredicate<T2,T2> predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> setSecondIf(LBiPredicate<T2,T2> predicate, T2 second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
public LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> setThird(long third)
public LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> setThirdIfArg(long third, LLongPredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> setThirdIfArgNotNull(R arg, LToLongFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
public LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> setThirdIf(LLongPredicate predicate, long third)
Sets value if predicate(current) OR current::predicate is true
public LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> setThirdIf(long third, LBiLongPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> setThirdIf(LBiLongPredicate predicate, long third)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
public void reset()
Copyright © 2019. All rights reserved.