| Package | Description |
|---|---|
| eu.lunisolar.magma.func.tuple |
| Modifier and Type | Method and Description |
|---|---|
static <T> LObjIntPair.MutObjIntPair<T> |
LObjIntPair.MutObjIntPair.copyOf(LObjIntPair<T> tuple) |
LObjIntPair.MutObjIntPair<T> |
LObjIntPair.MutObjIntPair.first(T first) |
static <T> LObjIntPair.MutObjIntPair<T> |
Tuple4U.objIntPair(T a1,
int a2) |
static <T> LObjIntPair.MutObjIntPair<T> |
LObjIntPair.MutObjIntPair.of(T a1,
int a2) |
LObjIntPair.MutObjIntPair<T> |
LObjIntPair.MutObjIntPair.second(int second) |
LObjIntPair.MutObjIntPair<T> |
LObjIntPair.MutObjIntPair.setFirst(T first) |
LObjIntPair.MutObjIntPair<T> |
LObjIntPair.MutObjIntPair.setFirstIf(LBiPredicate<T,T> predicate,
T first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LObjIntPair.MutObjIntPair<T> |
LObjIntPair.MutObjIntPair.setFirstIf(LPredicate<T> predicate,
T first)
Sets value if predicate(current) OR current::predicate is true
|
LObjIntPair.MutObjIntPair<T> |
LObjIntPair.MutObjIntPair.setFirstIf(T first,
LBiPredicate<T,T> predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LObjIntPair.MutObjIntPair<T> |
LObjIntPair.MutObjIntPair.setFirstIfArg(T first,
LPredicate<T> predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LObjIntPair.MutObjIntPair<T> |
LObjIntPair.MutObjIntPair.setFirstIfArgNotNull(R arg,
LFunction<R,T> func)
Sets value derived from non-null argument, only if argument is not null.
|
LObjIntPair.MutObjIntPair<T> |
LObjIntPair.MutObjIntPair.setSecond(int second) |
LObjIntPair.MutObjIntPair<T> |
LObjIntPair.MutObjIntPair.setSecondIf(int second,
LBiIntPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LObjIntPair.MutObjIntPair<T> |
LObjIntPair.MutObjIntPair.setSecondIf(LBiIntPredicate predicate,
int second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LObjIntPair.MutObjIntPair<T> |
LObjIntPair.MutObjIntPair.setSecondIf(LIntPredicate predicate,
int second)
Sets value if predicate(current) OR current::predicate is true
|
LObjIntPair.MutObjIntPair<T> |
LObjIntPair.MutObjIntPair.setSecondIfArg(int second,
LIntPredicate predicate)
Sets value if predicate(newValue) OR newValue::predicate is true
|
<R> LObjIntPair.MutObjIntPair<T> |
LObjIntPair.MutObjIntPair.setSecondIfArgNotNull(R arg,
LToIntFunction<R> func)
Sets value derived from non-null argument, only if argument is not null.
|
static <T> LObjIntPair.MutObjIntPair<T> |
Tuple4U.tuple(T a1,
int a2) |
Copyright © 2019. All rights reserved.