Package org.silverpeas.components.kmelia.model

## Class TopicComparator

- java.lang.Object
- - org.silverpeas.components.kmelia.model.TopicComparator

- All Implemented Interfaces:
    `Comparator<org.silverpeas.core.node.model.NodeDetail>`

      public class TopicComparator
      extends Object
      implements Comparator<org.silverpeas.core.node.model.NodeDetail>

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `TopicComparator()` |
    `TopicComparator​(String[] criteria)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `compare​(org.silverpeas.core.node.model.NodeDetail node1, org.silverpeas.core.node.model.NodeDetail node2)` |

    - ### Methods inherited from class java.lang.Object

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

    - ### Methods inherited from interface java.util.Comparator

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

- - ### Constructor Detail

    - #### TopicComparator

          public TopicComparator()

    - #### TopicComparator

          public TopicComparator​(String[] criteria)

  - ### Method Detail

    - #### compare

          public int compare​(org.silverpeas.core.node.model.NodeDetail node1,
                             org.silverpeas.core.node.model.NodeDetail node2)

      Specified by:
        `compare` in interface `Comparator<org.silverpeas.core.node.model.NodeDetail>`