public class HelpTopicComparator extends Object implements Comparator<HelpTopic>
All topics are listed in alphabetic order, but topics that start with a slash come after topics that don't.
Modifier and Type | Class and Description |
---|---|
static class |
HelpTopicComparator.TopicNameComparator |
Modifier and Type | Method and Description |
---|---|
int |
compare(HelpTopic lhs,
HelpTopic rhs) |
static HelpTopicComparator |
helpTopicComparatorInstance() |
static HelpTopicComparator.TopicNameComparator |
topicNameComparatorInstance() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static HelpTopicComparator.TopicNameComparator topicNameComparatorInstance()
public static HelpTopicComparator helpTopicComparatorInstance()
public int compare(HelpTopic lhs, HelpTopic rhs)
compare
in interface Comparator<HelpTopic>
Copyright © 2021. All rights reserved.