Package org.bukkit.help
Class HelpTopicComparator
java.lang.Object
org.bukkit.help.HelpTopicComparator
- All Implemented Interfaces:
Comparator<HelpTopic>
Used to impose a custom total ordering on help topics.
All topics are listed in alphabetic order, but topics that start with a slash come after topics that don't.
-
Nested Class Summary
Nested Classes -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Method Details
-
topicNameComparatorInstance
-
helpTopicComparatorInstance
-
compare
- Specified by:
comparein interfaceComparator<HelpTopic>
-