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