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(@NotNull HelpTopic lhs,
@NotNull HelpTopic rhs) |
|
static @NotNull HelpTopicComparator |
helpTopicComparatorInstance() |
|
static @NotNull HelpTopicComparator.TopicNameComparator |
topicNameComparatorInstance() |
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
@NotNull public static @NotNull HelpTopicComparator.TopicNameComparator topicNameComparatorInstance()
@NotNull public static @NotNull HelpTopicComparator helpTopicComparatorInstance()
public int compare(@NotNull @NotNull HelpTopic lhs, @NotNull @NotNull HelpTopic rhs)
compare
in interface Comparator<HelpTopic>
Copyright © 2020. All rights reserved.