Class UnaryChain<T>
- java.lang.Object
-
- com.djrapitops.plan.utilities.java.UnaryChain<T>
-
public class UnaryChain<T> extends java.lang.Object
Utility for combining multiple UnaryOperator modifications.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description T
apply()
UnaryChain<T>
chain(java.util.function.UnaryOperator<T> operation)
static <V> UnaryChain<V>
of(V modifying)
-
-
-
Method Detail
-
of
public static <V> UnaryChain<V> of(V modifying)
-
chain
public UnaryChain<T> chain(java.util.function.UnaryOperator<T> operation)
-
apply
public T apply()
-
-