Class Functions
java.lang.Object
io.github.xrickastley.sevenelements.util.Functions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <A,B, C, D, R>
Function<A,R> static <A,B, C, R> Function<A, R> static <A,B, R> Function<A, R> static <A,B> Consumer<A> composeConsumer(Function<A, B> fn1, Consumer<B> fn2) static <A,B, C> Consumer<A> composeConsumer(Function<A, B> fn1, Function<B, C> fn2, Consumer<C> fn3) static <A,B, C, D> Consumer<A> composeConsumer(Function<A, B> fn1, Function<B, C> fn2, Function<C, D> fn3, Consumer<D> fn4) static <A,B, C, D> Predicate<A> composePredicate(Function<A, B> fn1, Function<B, C> fn2, Function<C, D> fn3, Predicate<D> fn4) static <A,B, C> Predicate<A> composePredicate(Function<A, B> fn1, Function<B, C> fn2, Predicate<C> fn3) static <A,B> Predicate<A> composePredicate(Function<A, B> fn1, Predicate<B> fn2) static <T,R> Consumer<T> static <T,R> Supplier<R> static <T> Predicate<T>static <T,R> Runnable static <T,R> Runnable static <T,U, V, R> Supplier<R> supplier(TriFunction<T, U, V, R> fn, T t, U u, V v) static <T,U, R> Supplier<R> supplier(BiFunction<T, U, R> fn, T t, U u) static <T,R> Supplier<R> static <T,U, V> Consumer<T> withArgument(TriConsumer<T, U, V> fn, U u, V v) static <T,U, V, R> Function<T, R> withArgument(TriFunction<T, U, V, R> fn, U u, V v) static <T,U, V> Predicate<T> withArgument(TriPredicate<T, U, V> fn, U u, V v) static <T,U> Consumer<T> withArgument(BiConsumer<T, U> fn, U value) static <T,U, R> Function<T, R> withArgument(BiFunction<T, U, R> fn, U value) static <T,U> Predicate<T> withArgument(BiPredicate<T, U> fn, U value)
-
Constructor Details
-
Functions
public Functions()
-
-
Method Details
-
compose
-
compose
-
compose
-
composePredicate
-
composePredicate
-
composePredicate
-
composeConsumer
-
composeConsumer
-
composeConsumer
-
map
-
consumer
-
predicate
-
supplier
-
supplier
-
supplier
-
runnable
-
runnable
-
withArgument
-
withArgument
-
withArgument
-
withArgument
-
withArgument
-
withArgument
-