Comparator<HelpTopic>
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 | Description |
---|---|---|
static class |
HelpTopicComparator.TopicNameComparator |
Modifier and Type | Method | Description |
---|---|---|
int |
compare(HelpTopic lhs,
HelpTopic rhs) |
|
static HelpTopicComparator |
helpTopicComparatorInstance() |
|
static HelpTopicComparator.TopicNameComparator |
topicNameComparatorInstance() |
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 © 2019. All rights reserved.