public final class Functions extends Object
| Modifier and Type | Method and Description |
|---|---|
static <A,B,C> Function<A,C> |
compose(Function<A,B> f1,
Function<B,C> f2)
|
static <A,B,C,D> Function<A,D> |
compose(Function<A,B> f1,
Function<B,C> f2,
Function<C,D> f3)
|
static <A,B,C,D,E> |
compose(Function<A,B> f1,
Function<B,C> f2,
Function<C,D> f3,
Function<D,E> f4)
|
static <A,B,C,D,E,F> |
compose(Function<A,B> f1,
Function<B,C> f2,
Function<C,D> f3,
Function<D,E> f4,
Function<E,F> f5)
|
static <A,B,C,D,E,F,G> |
compose(Function<A,B> f1,
Function<B,C> f2,
Function<C,D> f3,
Function<D,E> f4,
Function<E,F> f5,
Function<F,G> f6)
|
static <A,B,C,D,E,F,G,H> |
compose(Function<A,B> f1,
Function<B,C> f2,
Function<C,D> f3,
Function<D,E> f4,
Function<E,F> f5,
Function<F,G> f6,
Function<G,H> f7)
|
static <A,B,C,D,E,F,G,H,I> |
compose(Function<A,B> f1,
Function<B,C> f2,
Function<C,D> f3,
Function<D,E> f4,
Function<E,F> f5,
Function<F,G> f6,
Function<G,H> f7,
Function<H,I> f8)
|
static <A,B,C,D,E,F,G,H,I,J> |
compose(Function<A,B> f1,
Function<B,C> f2,
Function<C,D> f3,
Function<D,E> f4,
Function<E,F> f5,
Function<F,G> f6,
Function<G,H> f7,
Function<H,I> f8,
Function<I,J> f9)
|
static <T,U> BiFunction<T,U,Void> |
voidFunction(BiConsumer<T,U> consumer)
|
static <T> Function<T,Void> |
voidFunction(Consumer<T> consumer)
|
public static <A,B,C> Function<A,C> compose(Function<A,B> f1, Function<B,C> f2)
Function that composes the specified Functions with chained
Function.andThen(Function). It is useful when you need to compose method handles, which is
impossible with Function.andThen(Function):
Function<A, B> f = Functions.compose(TypeA::new, TypeB::new);
public static <A,B,C,D> Function<A,D> compose(Function<A,B> f1, Function<B,C> f2, Function<C,D> f3)
Function that composes the specified Functions with chained
Function.andThen(Function). It is useful when you need to compose method handles, which is
impossible with Function.andThen(Function):
Function<A, B> f = Functions.compose(TypeA::new, TypeB::new);
public static <A,B,C,D,E> Function<A,E> compose(Function<A,B> f1, Function<B,C> f2, Function<C,D> f3, Function<D,E> f4)
Function that composes the specified Functions with chained
Function.andThen(Function). It is useful when you need to compose method handles, which is
impossible with Function.andThen(Function):
Function<A, B> f = Functions.compose(TypeA::new, TypeB::new);
public static <A,B,C,D,E,F> Function<A,F> compose(Function<A,B> f1, Function<B,C> f2, Function<C,D> f3, Function<D,E> f4, Function<E,F> f5)
Function that composes the specified Functions with chained
Function.andThen(Function). It is useful when you need to compose method handles, which is
impossible with Function.andThen(Function):
Function<A, B> f = Functions.compose(TypeA::new, TypeB::new);
public static <A,B,C,D,E,F,G> Function<A,G> compose(Function<A,B> f1, Function<B,C> f2, Function<C,D> f3, Function<D,E> f4, Function<E,F> f5, Function<F,G> f6)
Function that composes the specified Functions with chained
Function.andThen(Function). It is useful when you need to compose method handles, which is
impossible with Function.andThen(Function):
Function<A, B> f = Functions.compose(TypeA::new, TypeB::new);
public static <A,B,C,D,E,F,G,H> Function<A,H> compose(Function<A,B> f1, Function<B,C> f2, Function<C,D> f3, Function<D,E> f4, Function<E,F> f5, Function<F,G> f6, Function<G,H> f7)
Function that composes the specified Functions with chained
Function.andThen(Function). It is useful when you need to compose method handles, which is
impossible with Function.andThen(Function):
Function<A, B> f = Functions.compose(TypeA::new, TypeB::new);
public static <A,B,C,D,E,F,G,H,I> Function<A,I> compose(Function<A,B> f1, Function<B,C> f2, Function<C,D> f3, Function<D,E> f4, Function<E,F> f5, Function<F,G> f6, Function<G,H> f7, Function<H,I> f8)
Function that composes the specified Functions with chained
Function.andThen(Function). It is useful when you need to compose method handles, which is
impossible with Function.andThen(Function):
Function<A, B> f = Functions.compose(TypeA::new, TypeB::new);
public static <A,B,C,D,E,F,G,H,I,J> Function<A,J> compose(Function<A,B> f1, Function<B,C> f2, Function<C,D> f3, Function<D,E> f4, Function<E,F> f5, Function<F,G> f6, Function<G,H> f7, Function<H,I> f8, Function<I,J> f9)
Function that composes the specified Functions with chained
Function.andThen(Function). It is useful when you need to compose method handles, which is
impossible with Function.andThen(Function):
Function<A, B> f = Functions.compose(TypeA::new, TypeB::new);
public static <T,U> BiFunction<T,U,Void> voidFunction(BiConsumer<T,U> consumer)
Copyright © 2020 LeanCloud. All rights reserved.