org.jquantlib.math.functions
Class Bind2ndPredicate
- java.lang.Object
-
- org.jquantlib.math.functions.Bind2ndPredicate
-
- All Implemented Interfaces:
- Ops.DoublePredicate
public final class Bind2ndPredicate extends java.lang.Object implements Ops.DoublePredicate
This method binds the 2nd 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 Bind2ndPredicate(Ops.BinaryDoublePredicate f, double scalar)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanop(double a)
-
-
-
Constructor Detail
-
Bind2ndPredicate
public Bind2ndPredicate(Ops.BinaryDoublePredicate f, double scalar)
-
-
Method Detail
-
op
public boolean op(double a)
- Specified by:
opin interfaceOps.DoublePredicate
-
-
DataMelt 3.0 © DataMelt by jWork.ORG