org.bukkit.help
Class HelpTopicComparator
java.lang.Object
org.bukkit.help.HelpTopicComparator
- All Implemented Interfaces:
- Comparator<HelpTopic>
public class HelpTopicComparator
- extends Object
- implements 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
topicNameComparatorInstance
public static HelpTopicComparator.TopicNameComparator topicNameComparatorInstance()
helpTopicComparatorInstance
public static HelpTopicComparator helpTopicComparatorInstance()
compare
public int compare(HelpTopic lhs,
HelpTopic rhs)
- Specified by:
compare
in interface Comparator<HelpTopic>
Copyright © 2013. All Rights Reserved.