T
- The type of objects to compare.public interface IEquatableEpsilon<T>
Modifier and Type | Method and Description |
---|---|
boolean |
equalsEpsilon(T other,
double epsilon)
Returns true if this instance is equal to the specified instance, within
epsilon . |
boolean equalsEpsilon(T other, double epsilon)
epsilon
.
Commonly, in order for two instances to be considered equal by this method, the absolute value of the
difference between each of their constituent elements must be less than or equal to epsilon
.other
- The instance to compare to this instance.epsilon
- The largest allowable difference between this instance and other
.other
are equal, within epsilon
.