java.lang.Object
org.klomp.snark.SnarkManager.IgnoreCaseComparatorF
- All Implemented Interfaces:
Serializable, Comparator<TorrentCreateFilter>
- Enclosing class:
SnarkManager
private static class SnarkManager.IgnoreCaseComparatorFextends Object implements Comparator<TorrentCreateFilter>, 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
ConstructorsModifierConstructorDescriptionprivateOrders trackers by name, ignoring case, newest first.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
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
IgnoreCaseComparatorF
private IgnoreCaseComparatorF()Orders trackers by name, ignoring case, newest first.
Method Details
compare
- Specified by:
comparein interfaceComparator<TorrentCreateFilter>