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