protected static final class IndexedDiskCache.PositionComparator extends Object implements Comparator<IndexedDiskElementDescriptor>, Serializable
Modifier | Constructor and Description |
---|---|
protected |
IndexedDiskCache.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
equals
protected IndexedDiskCache.PositionComparator()
public int compare(IndexedDiskElementDescriptor o1, IndexedDiskElementDescriptor o2)
compare
in interface Comparator<IndexedDiskElementDescriptor>
Comparator.compare(java.lang.Object, java.lang.Object)
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.