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 ded1,
IndexedDiskElementDescriptor ded2)
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
protected PositionComparator()
public int compare(IndexedDiskElementDescriptor ded1, IndexedDiskElementDescriptor ded2)
compare
in interface Comparator<IndexedDiskElementDescriptor>
Comparator.compare(java.lang.Object, java.lang.Object)
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.