net.sf.okapi.common.resource

## Class CodeComparatorOnId

- java.lang.Object
- - net.sf.okapi.common.resource.CodeComparatorOnId

- All Implemented Interfaces:
    java.util.Comparator<Code>

      public class CodeComparatorOnId
      extends java.lang.Object
      implements java.util.Comparator<Code>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CodeComparatorOnId()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(Code c1, Code c2)`

    - ### 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

      `comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- - ### Constructor Detail

    - #### CodeComparatorOnId

          public CodeComparatorOnId()

  - ### Method Detail

    - #### compare

          public int compare(Code c1,
                             Code c2)

      Specified by:
        `compare` in interface `java.util.Comparator<Code>`