List of usage examples for org.apache.commons.functor.adapter RightBoundFunction bind
public static <L, R, T> RightBoundFunction<L, T> bind( BinaryFunction<? super L, ? super R, ? extends T> function, R arg)
From source file:org.apache.commons.functor.example.kata.one.Divide.java
public static Function<Number, Number> by(int factor) { return RightBoundFunction.bind(INSTANCE, factor); }
From source file:org.apache.commons.functor.example.kata.one.Mod.java
public static Function<Number, Number> by(int factor) { return RightBoundFunction.bind(instance(), factor); }