Package org.jruby.util.func
Interface FunctionOneOrTwoOrThree<T,U,V,R>
- Type Parameters:
T
- first argument type for applyU
- second argument type for applyV
- third argument type for applyR
- return value type for apply
- All Superinterfaces:
BiFunction<T,
,U, R> Function<T,
,R> TriFunction<T,
U, V, R>
- All Known Implementing Classes:
Block
public interface FunctionOneOrTwoOrThree<T,U,V,R>
extends Function<T,R>, BiFunction<T,U,R>, TriFunction<T,U,V,R>
An aggregate interface for
Function
and BiFunction
that properly replaces the default
andThen(Function)
for both superinterfaces.-
Method Summary
Methods inherited from interface java.util.function.BiFunction
apply
Methods inherited from interface org.jruby.util.func.TriFunction
apply