java.util.Comparator
public static class CoordinateArrays.BidirectionalComparator
extends java.lang.Object
implements java.util.Comparator
Comparator
for Coordinate
arrays
modulo their directionality.
E.g. if two coordinate arrays are identical but reversed
they will compare as equal under this ordering.
If the arrays are not equal, the ordering returned
is the ordering in the forward direction.Constructor | Description |
---|---|
BidirectionalComparator() |
Modifier and Type | Method | Description |
---|---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2) |
|
int |
OLDcompare(java.lang.Object o1,
java.lang.Object o2) |
Copyright © 2018. All rights reserved.