public static final class LFltIntPair.MutFltIntPair extends LFltIntPair.AbstractFltIntPair
Mutable, non-comparable tuple.
LFltIntPair.AbstractFltIntPair, LFltIntPair.ComparableFltIntPair, LFltIntPair.ImmCompFltIntPair, LFltIntPair.ImmFltIntPair, LFltIntPair.MutCompFltIntPair, LFltIntPair.MutFltIntPairLFltSingle.AbstractFltSingle, LFltSingle.ComparableFltSingle, LFltSingle.ImmCompFltSingle, LFltSingle.ImmFltSingle, LFltSingle.MutCompFltSingle, LFltSingle.MutFltSingleLTuple.VoidSIZE| Constructor and Description |
|---|
MutFltIntPair(float a1,
int a2) |
| Modifier and Type | Method and Description |
|---|---|
static LFltIntPair.MutFltIntPair |
copyOf(LFltIntPair tuple) |
float |
first() |
LFltIntPair.MutFltIntPair |
first(float first) |
static LFltIntPair.MutFltIntPair |
of(float a1,
int a2) |
void |
reset() |
int |
second() |
LFltIntPair.MutFltIntPair |
second(int second) |
LFltIntPair.MutFltIntPair |
setFirst(float first) |
LFltIntPair.MutFltIntPair |
setFirstIf(float first,
LBiFltPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LFltIntPair.MutFltIntPair |
setFirstIf(LBiFltPredicate predicate,
float first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LFltIntPair.MutFltIntPair |
setFirstIf(LFltPredicate predicate,
float first)
Sets value if predicate(current) OR current::predicate is true
|
LFltIntPair.MutFltIntPair |
setFirstIfArg(float first,
LFltPredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LFltIntPair.MutFltIntPair |
setFirstIfArgNotNull(R arg,
LToFltFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
|
LFltIntPair.MutFltIntPair |
setSecond(int second) |
LFltIntPair.MutFltIntPair |
setSecondIf(int second,
LBiIntPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LFltIntPair.MutFltIntPair |
setSecondIf(LBiIntPredicate predicate,
int second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LFltIntPair.MutFltIntPair |
setSecondIf(LIntPredicate predicate,
int second)
Sets value if predicate(current) OR current::predicate is true
|
LFltIntPair.MutFltIntPair |
setSecondIfArg(int second,
LIntPredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LFltIntPair.MutFltIntPair |
setSecondIfArgNotNull(R arg,
LToIntFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
|
equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitargEquals, argEquals, argHashCode, get, iterator, size, valueargEquals, argEquals, argHashCodepublic static LFltIntPair.MutFltIntPair of(float a1, int a2)
public static LFltIntPair.MutFltIntPair copyOf(LFltIntPair tuple)
public float first()
public LFltIntPair.MutFltIntPair first(float first)
public int second()
public LFltIntPair.MutFltIntPair second(int second)
public LFltIntPair.MutFltIntPair setFirst(float first)
public LFltIntPair.MutFltIntPair setFirstIfArg(float first, LFltPredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LFltIntPair.MutFltIntPair setFirstIfArgNotNull(R arg, LToFltFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
public LFltIntPair.MutFltIntPair setFirstIf(LFltPredicate predicate, float first)
Sets value if predicate(current) OR current::predicate is true
public LFltIntPair.MutFltIntPair setFirstIf(float first, LBiFltPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LFltIntPair.MutFltIntPair setFirstIf(LBiFltPredicate predicate, float first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
public LFltIntPair.MutFltIntPair setSecond(int second)
public LFltIntPair.MutFltIntPair setSecondIfArg(int second, LIntPredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LFltIntPair.MutFltIntPair setSecondIfArgNotNull(R arg, LToIntFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
public LFltIntPair.MutFltIntPair setSecondIf(LIntPredicate predicate, int second)
Sets value if predicate(current) OR current::predicate is true
public LFltIntPair.MutFltIntPair setSecondIf(int second, LBiIntPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LFltIntPair.MutFltIntPair setSecondIf(LBiIntPredicate predicate, int second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
public void reset()
Copyright © 2019. All rights reserved.