org.jquantlib.math.functions
Class Bind1stPredicate
- java.lang.Object
-
- org.jquantlib.math.functions.Bind1stPredicate
-
- All Implemented Interfaces:
- Ops.DoublePredicate
public final class Bind1stPredicate extends java.lang.Object implements Ops.DoublePredicate
This method binds the 1st argument of a binary predicate to a scalar value, effectively enabling a binary predicate to be called in a context intended for a unary predicate.
-
-
Constructor Summary
Constructors Constructor and Description Bind1stPredicate(double scalar, Ops.BinaryDoublePredicate f)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanop(double a)
-
-
-
Constructor Detail
-
Bind1stPredicate
public Bind1stPredicate(double scalar, Ops.BinaryDoublePredicate f)
-
-
Method Detail
-
op
public boolean op(double a)
- Specified by:
opin interfaceOps.DoublePredicate
-
-
DataMelt 3.0 © DataMelt by jWork.ORG