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