public interface Tolerable
Tolerable interface can be implemented by classes that
supports testing for equality with a tolerable error when comparing floating
point values.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj,
double epsilon)
Indicates whether some other object is "equal to" this one with a
tolerable error.
|
boolean equals(Object obj, double epsilon)
obj - the reference object with which to compareepsilon - the tolerable errortrue if this object is the same as a obj
within the specified tolerable errorCopyright (C) 2015-2015 The Helenus Driver Project Authors.