protected static final class IndexedDiskCache.PositionComparator extends Object implements Comparator<IndexedDiskElementDescriptor>, Serializable
Modifier | Constructor and Description |
---|---|
protected |
PositionComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(IndexedDiskElementDescriptor o1,
IndexedDiskElementDescriptor o2)
Compares two descriptors based on position.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(IndexedDiskElementDescriptor o1, IndexedDiskElementDescriptor o2)
compare
in interface Comparator<IndexedDiskElementDescriptor>
Comparator.compare(java.lang.Object, java.lang.Object)
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.