java.lang.Object
org.klomp.snark.SnarkManager.IgnoreCaseComparator
- All Implemented Interfaces:
Serializable, Comparator<Tracker>
- Enclosing class:
SnarkManager
private static class SnarkManager.IgnoreCaseComparatorextends Object implements Comparator<Tracker>, Serializable
Compare ignoring case, current locale.
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CollatorOrders torrent names by locale collation.private static final longFixed id, the comparator is never serialized across versions.Constructor Summary
ConstructorsMethod Summary
Methods 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
Field Details
serialVersionUID
private static final long serialVersionUIDFixed id, the comparator is never serialized across versions.- See Also:
coll
Orders torrent names by locale collation.
Constructor Details
IgnoreCaseComparator
private IgnoreCaseComparator()Orders trackers by name, ignoring case.
Method Details
compare
- Specified by:
comparein interfaceComparator<Tracker>