java.lang.Object
net.i2p.data.router.SortHelper.DataStructureComparator
- All Implemented Interfaces:
Serializable, Comparator<DataStructure>
- Enclosing class:
SortHelper
private static class SortHelper.DataStructureComparatorextends Object implements Comparator<DataStructure>, Serializable
See
SortHelper.sortStructures(Collection) comments.Constructor Summary
ConstructorsModifierConstructorDescriptionprivateOrders data structures by their bytes.Method Summary
All MethodsMethods inherited from class Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
equals, max, min, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Constructor Details
DataStructureComparator
private DataStructureComparator()Orders data structures by their bytes.
Method Details
compare
- Specified by:
comparein interfaceComparator<DataStructure>