程序包 org.bukkit.help

# 类 HelpTopicComparator

java.lang.Object
org.bukkit.help.HelpTopicComparator

所有已实现的接口:
  `Comparator<HelpTopic>`

public final 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.

- ## 嵌套类概要

  嵌套类
  修饰符和类型
  类
  说明
  `static final class`
  `HelpTopicComparator.TopicNameComparator`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `int`
  `compare(@NotNull HelpTopic lhs, @NotNull HelpTopic rhs)`
  `static @NotNull HelpTopicComparator`
  `helpTopicComparatorInstance()`
  `static @NotNull HelpTopicComparator.TopicNameComparator`
  `topicNameComparatorInstance()`

  ### 从类继承的方法 java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### 从接口继承的方法 java.util.Comparator

  `equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- ## 方法详细资料

  - ### topicNameComparatorInstance

    @NotNull public static @NotNull HelpTopicComparator.TopicNameComparator topicNameComparatorInstance()

  - ### helpTopicComparatorInstance

    @NotNull public static @NotNull HelpTopicComparator helpTopicComparatorInstance()

  - ### compare

    public int compare(@NotNull @NotNull HelpTopic lhs, @NotNull @NotNull HelpTopic rhs)
    指定者:
      `compare` 在接口中 `Comparator<HelpTopic>`