Package com.google.common.geometry
Class S2RegionCoverer.QueueEntriesComparator
java.lang.Object
com.google.common.geometry.S2RegionCoverer.QueueEntriesComparator
- All Implemented Interfaces:
Comparator<S2RegionCoverer.QueueEntry>
- Enclosing class:
S2RegionCoverer
static class S2RegionCoverer.QueueEntriesComparator
extends Object
implements Comparator<S2RegionCoverer.QueueEntry>
We define our own comparison function on QueueEntries in order to make the results
deterministic.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
QueueEntriesComparator
QueueEntriesComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<S2RegionCoverer.QueueEntry>
-