|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Point2DComparator
Title: DataPoint2DComparatorAPI
Description: This interface must be implemented by all comparators of DataPoint2D. The comparator uses a tolerance to specify when two values are within tolerance of each other, they are equal
DataPoint2D| Method Summary | |
|---|---|
double |
getTolerance()
Tolerance indicates the distance two values can be apart, but still considered equal. |
void |
setTolerance(double newTolerance)
Tolerance indicates the distance two values can be apart, but still considered equal. |
| Methods inherited from interface java.util.Comparator |
|---|
compare, equals |
| Method Detail |
|---|
void setTolerance(double newTolerance)
throws InvalidRangeException
newTolerance - The new tolerance value
InvalidRangeException - Is Thrown if the tolarance is negativedouble getTolerance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||