Modifier and Type | Method and Description |
---|---|
static <L,R,G,H,T> |
function(BinaryFunction<? super G,? super H,? extends T> f,
BinaryFunction<? super L,? super R,? extends G> g,
BinaryFunction<? super L,? super R,? extends H> h)
Create a composite
|
static <L,R,G,H,T> |
function(BinaryFunction<? super G,? super H,? extends T> f,
Function<? super L,? extends G> g,
Function<? super R,? extends H> h)
Create a composite
|
static <A,T> CompositeFunction<A,T> |
function(Function<? super A,? extends T> f)
Create a composite Function.
|
static <A,X,T> CompositeFunction<A,T> |
function(Function<? super X,? extends T> f,
Function<? super A,? extends X> g)
Create a composite Function.
|
static <L,R,G,H> CompositeBinaryPredicate<L,R> |
predicate(BinaryPredicate<? super G,? super H> p,
Function<? super L,? extends G> g,
Function<? super R,? extends H> h)
Create a composite BinaryPredicate.
|
static <A> CompositePredicate<A> |
predicate(Predicate<? super A> pred)
Create a composite Predicate.
|
static <A,T> CompositePredicate<A> |
predicate(Predicate<? super T> predicate,
Function<? super A,? extends T> function)
Create a composite Predicate.
|
static <A> CompositeProcedure<A> |
procedure(Procedure<? super A> procedure)
Create a composite Procedure.
|
static <A,T> CompositeProcedure<A> |
procedure(Procedure<? super T> procedure,
Function<? super A,? extends T> function)
Create a composite Procedure.
|
public static <A> CompositeProcedure<A> procedure(Procedure<? super A> procedure)
public static <A,T> CompositeProcedure<A> procedure(Procedure<? super T> procedure, Function<? super A,? extends T> function)
public static <A> CompositePredicate<A> predicate(Predicate<? super A> pred)
public static <A,T> CompositePredicate<A> predicate(Predicate<? super T> predicate, Function<? super A,? extends T> function)
public static <L,R,G,H> CompositeBinaryPredicate<L,R> predicate(BinaryPredicate<? super G,? super H> p, Function<? super L,? extends G> g, Function<? super R,? extends H> h)
L
- the output predicate left argument type.R
- the output predicate right argument type.G
- the input functions left argument type.H
- the input functions right argument type.p
- BinaryPredicate to test output(f
), output(g
)g
- left Functionh
- right Functionpublic static <A,T> CompositeFunction<A,T> function(Function<? super A,? extends T> f)
A
- the function argument type.T
- the function returned value type.f
- Function to apply to the output of g
public static <A,X,T> CompositeFunction<A,T> function(Function<? super X,? extends T> f, Function<? super A,? extends X> g)
A
- the function argument type.X
- the function argument type.T
- the function returned value type.f
- Function to apply to the output of g
g
- Function to apply firstpublic static <L,R,G,H,T> CompositeBinaryFunction<L,R,T> function(BinaryFunction<? super G,? super H,? extends T> f, Function<? super L,? extends G> g, Function<? super R,? extends H> h)
L
- the output predicate left argument type.R
- the output predicate right argument type.G
- the input functions left argument type.H
- the input functions right argument type.T
- the function returned value type.f
- BinaryFunction to apply to output(f
), output(g
)g
- left Functionh
- right Functionpublic static <L,R,G,H,T> BinaryCompositeBinaryFunction<L,R,T> function(BinaryFunction<? super G,? super H,? extends T> f, BinaryFunction<? super L,? super R,? extends G> g, BinaryFunction<? super L,? super R,? extends H> h)
L
- the output predicate left argument type.R
- the output predicate right argument type.G
- the input functions left argument type.H
- the input functions right argument type.T
- the function returned value type.f
- BinaryFunction to apply to output(f
), output(g
)g
- left BinaryFunctionh
- right BinaryFunctionCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.