Package org.multiverse.api.predicates
Class DoublePredicate
- java.lang.Object
-
- org.multiverse.api.predicates.DoublePredicate
-
-
Constructor Summary
Constructors Constructor Description DoublePredicate()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleanevaluate(double current)Evaluates the predicatebooleanevaluate(Double arg)Evaluates the predicate.static DoublePredicatenewEqualsPredicate(double value)
-
-
-
Method Detail
-
newEqualsPredicate
public static DoublePredicate newEqualsPredicate(double value)
-
evaluate
public abstract boolean evaluate(double current)
Evaluates the predicate- Parameters:
current- the current value.- Returns:
- true or false.
-
-