public static final class LByteIntPair.MutByteIntPair extends LByteIntPair.AbstractByteIntPair
Mutable, non-comparable tuple.
LByteIntPair.AbstractByteIntPair, LByteIntPair.ComparableByteIntPair, LByteIntPair.ImmByteIntPair, LByteIntPair.ImmCompByteIntPair, LByteIntPair.MutByteIntPair, LByteIntPair.MutCompByteIntPairLByteSingle.AbstractByteSingle, LByteSingle.ComparableByteSingle, LByteSingle.ImmByteSingle, LByteSingle.ImmCompByteSingle, LByteSingle.MutByteSingle, LByteSingle.MutCompByteSingleLTuple.VoidSIZE| Constructor and Description |
|---|
MutByteIntPair(byte a1,
int a2) |
| Modifier and Type | Method and Description |
|---|---|
static LByteIntPair.MutByteIntPair |
copyOf(LByteIntPair tuple) |
byte |
first() |
LByteIntPair.MutByteIntPair |
first(byte first) |
static LByteIntPair.MutByteIntPair |
of(byte a1,
int a2) |
void |
reset() |
int |
second() |
LByteIntPair.MutByteIntPair |
second(int second) |
LByteIntPair.MutByteIntPair |
setFirst(byte first) |
LByteIntPair.MutByteIntPair |
setFirstIf(byte first,
LBiBytePredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LByteIntPair.MutByteIntPair |
setFirstIf(LBiBytePredicate predicate,
byte first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LByteIntPair.MutByteIntPair |
setFirstIf(LBytePredicate predicate,
byte first)
Sets value if predicate(current) OR current::predicate is true
|
LByteIntPair.MutByteIntPair |
setFirstIfArg(byte first,
LBytePredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LByteIntPair.MutByteIntPair |
setFirstIfArgNotNull(R arg,
LToByteFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
|
LByteIntPair.MutByteIntPair |
setSecond(int second) |
LByteIntPair.MutByteIntPair |
setSecondIf(int second,
LBiIntPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LByteIntPair.MutByteIntPair |
setSecondIf(LBiIntPredicate predicate,
int second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LByteIntPair.MutByteIntPair |
setSecondIf(LIntPredicate predicate,
int second)
Sets value if predicate(current) OR current::predicate is true
|
LByteIntPair.MutByteIntPair |
setSecondIfArg(int second,
LIntPredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LByteIntPair.MutByteIntPair |
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 LByteIntPair.MutByteIntPair of(byte a1, int a2)
public static LByteIntPair.MutByteIntPair copyOf(LByteIntPair tuple)
public byte first()
public LByteIntPair.MutByteIntPair first(byte first)
public int second()
public LByteIntPair.MutByteIntPair second(int second)
public LByteIntPair.MutByteIntPair setFirst(byte first)
public LByteIntPair.MutByteIntPair setFirstIfArg(byte first, LBytePredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LByteIntPair.MutByteIntPair setFirstIfArgNotNull(R arg, LToByteFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
public LByteIntPair.MutByteIntPair setFirstIf(LBytePredicate predicate, byte first)
Sets value if predicate(current) OR current::predicate is true
public LByteIntPair.MutByteIntPair setFirstIf(byte first, LBiBytePredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LByteIntPair.MutByteIntPair setFirstIf(LBiBytePredicate predicate, byte first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
public LByteIntPair.MutByteIntPair setSecond(int second)
public LByteIntPair.MutByteIntPair setSecondIfArg(int second, LIntPredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
public <R> LByteIntPair.MutByteIntPair setSecondIfArgNotNull(R arg, LToIntFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
public LByteIntPair.MutByteIntPair setSecondIf(LIntPredicate predicate, int second)
Sets value if predicate(current) OR current::predicate is true
public LByteIntPair.MutByteIntPair setSecondIf(int second, LBiIntPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
public LByteIntPair.MutByteIntPair 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.