org.matheclipse.core.generic
Class BinaryFunctorImpl<T>
- java.lang.Object
-
- org.matheclipse.core.generic.BinaryFunctorImpl<T>
-
- All Implemented Interfaces:
- BiFunction<T,T,T>
- Direct Known Subclasses:
- BinaryApply, BinaryEval, BinaryMap, BinaryNumerical
public abstract class BinaryFunctorImpl<T> extends java.lang.Object implements BiFunction<T,T,T>
A function object that takes two arguments and returns a result. The two arguments are both of typeTand the result is also of typeT
-
-
Constructor Summary
Constructors Constructor and Description BinaryFunctorImpl()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description abstract Tapply(T firstArg, T secondArg)Executes the function and returns the result.Function<T,T>bind2(T p_param2)
-
-
-
Method Detail
-
apply
public abstract T apply(T firstArg, T secondArg)
Executes the function and returns the result.- Specified by:
applyin interfaceBiFunction<T,T,T>- Parameters:
firstArg- The first source object.secondArg- The second source object.- Returns:
- The resulting object.
- Throws:
FunctionException
-
-
DMelt 3.0 © DataMelt by jWork.ORG