public final 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
@NotNull public static HelpTopicComparator.TopicNameComparator topicNameComparatorInstance()
@NotNull public static HelpTopicComparator helpTopicComparatorInstance()
public int compare(@NotNull HelpTopic lhs, @NotNull HelpTopic rhs)
compare
in interface Comparator<HelpTopic>
Copyright © 2022. All rights reserved.