Class IndexedDiskCache.PositionComparator
java.lang.Object
org.apache.commons.jcs3.auxiliary.disk.indexed.IndexedDiskCache.PositionComparator
- All Implemented Interfaces:
Serializable
,Comparator<IndexedDiskElementDescriptor>
- Enclosing class:
- IndexedDiskCache<K,
V>
@Deprecated
protected static final class IndexedDiskCache.PositionComparator
extends Object
implements Comparator<IndexedDiskElementDescriptor>, Serializable
Deprecated.
Use lambda instead
Compares IndexedDiskElementDescriptor based on their position.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated.Compares two descriptors based on position.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
-
PositionComparator
protected PositionComparator()Deprecated.
-
-
Method Details
-
compare
Deprecated.Compares two descriptors based on position.- Specified by:
compare
in interfaceComparator<IndexedDiskElementDescriptor>
- See Also:
-