public static final class LFltIntPair.MutCompFltIntPair extends LFltIntPair.AbstractFltIntPair implements LFltIntPair.ComparableFltIntPair
Mutable, 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 |
|---|
MutCompFltIntPair(float a1,
int a2) |
| Modifier and Type | Method and Description |
|---|---|
static LFltIntPair.MutCompFltIntPair |
copyOf(LFltIntPair tuple) |
float |
first() |
LFltIntPair.MutCompFltIntPair |
first(float first) |
static LFltIntPair.MutCompFltIntPair |
of(float a1,
int a2) |
void |
reset() |
int |
second() |
LFltIntPair.MutCompFltIntPair |
second(int second) |
LFltIntPair.MutCompFltIntPair |
setFirst(float first) |
LFltIntPair.MutCompFltIntPair |
setFirstIf(float first,
LBiFltPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LFltIntPair.MutCompFltIntPair |
setFirstIf(LBiFltPredicate predicate,
float first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LFltIntPair.MutCompFltIntPair |
setFirstIf(LFltPredicate predicate,
float first)
Sets value if predicate(current) OR current::predicate is true
|
LFltIntPair.MutCompFltIntPair |
setFirstIfArg(float first,
LFltPredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LFltIntPair.MutCompFltIntPair |
setFirstIfArgNotNull(R arg,
LToFltFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
|
LFltIntPair.MutCompFltIntPair |
setSecond(int second) |
LFltIntPair.MutCompFltIntPair |
setSecondIf(int second,
LBiIntPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LFltIntPair.MutCompFltIntPair |
setSecondIf(LBiIntPredicate predicate,
int second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LFltIntPair.MutCompFltIntPair |
setSecondIf(LIntPredicate predicate,
int second)
Sets value if predicate(current) OR current::predicate is true
|
LFltIntPair.MutCompFltIntPair |
setSecondIfArg(int second,
LIntPredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LFltIntPair.MutCompFltIntPair |
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, waitcompareToargEquals, argEquals, argHashCode, get, iterator, size, valueargEquals, argEquals, argHashCodepublic static LFltIntPair.MutCompFltIntPair of(float a1, int a2)
public static LFltIntPair.MutCompFltIntPair copyOf(LFltIntPair tuple)
public float first()
first in interface LFltIntPairfirst in interface LFltSinglepublic LFltIntPair.MutCompFltIntPair first(float first)
public int second()
second in interface LFltIntPairpublic LFltIntPair.MutCompFltIntPair second(int second)
public LFltIntPair.MutCompFltIntPair setFirst(float first)
public LFltIntPair.MutCompFltIntPair setFirstIfArg(float first, LFltPredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LFltIntPair.MutCompFltIntPair setFirstIfArgNotNull(R arg, LToFltFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
public LFltIntPair.MutCompFltIntPair setFirstIf(LFltPredicate predicate, float first)
Sets value if predicate(current) OR current::predicate is true
public LFltIntPair.MutCompFltIntPair setFirstIf(float first, LBiFltPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LFltIntPair.MutCompFltIntPair setFirstIf(LBiFltPredicate predicate, float first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
public LFltIntPair.MutCompFltIntPair setSecond(int second)
public LFltIntPair.MutCompFltIntPair setSecondIfArg(int second, LIntPredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LFltIntPair.MutCompFltIntPair setSecondIfArgNotNull(R arg, LToIntFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
public LFltIntPair.MutCompFltIntPair setSecondIf(LIntPredicate predicate, int second)
Sets value if predicate(current) OR current::predicate is true
public LFltIntPair.MutCompFltIntPair setSecondIf(int second, LBiIntPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LFltIntPair.MutCompFltIntPair 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.