- java.lang.Object
-
- jp.cafebabe.pochi.util.Tuple<T>
-
public class Tuple<T> extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
ifEquals(BiPredicate<T,T> predicate, Supplier<R> trueCase, Supplier<R> falseCase)
<R> R
ifEquals(BiPredicate<T,T> predicate, R trueCaseValue, R falseCaseValue)
static <T> Tuple<T>
of(T left, T right)
-
-
-
Method Detail
-
of
public static <T> Tuple<T> of(T left, T right)
-
ifEquals
public <R> R ifEquals(BiPredicate<T,T> predicate, R trueCaseValue, R falseCaseValue)
-
ifEquals
public <R> R ifEquals(BiPredicate<T,T> predicate, Supplier<R> trueCase, Supplier<R> falseCase)
-
-