Class DoublePredicates.EqualsWithDeltaDoublePredicate
java.lang.Object
org.eclipse.collections.impl.block.factory.primitive.DoublePredicates.EqualsWithDeltaDoublePredicate
- All Implemented Interfaces:
Serializable
,DoublePredicate
,DoublePredicate
- Enclosing class:
DoublePredicates
private static final class DoublePredicates.EqualsWithDeltaDoublePredicate
extends Object
implements DoublePredicate
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final double
private final double
private static final long
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
EqualsWithDeltaDoublePredicate
(double expected, double delta) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.DoublePredicate
and, negate, or
Methods inherited from interface org.eclipse.collections.api.block.predicate.primitive.DoublePredicate
test
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
expected
private final double expected -
delta
private final double delta
-
-
Constructor Details
-
EqualsWithDeltaDoublePredicate
private EqualsWithDeltaDoublePredicate(double expected, double delta)
-
-
Method Details
-
accept
public boolean accept(double actual) - Specified by:
accept
in interfaceDoublePredicate
-