com.ihr.xbrl.dts

## Class PeriodComparator

- java.lang.Object
- - com.ihr.xbrl.dts.PeriodComparator

- All Implemented Interfaces:
    java.util.Comparator<Member<?>>

      public class PeriodComparator
      extends java.lang.Object
      implements java.util.Comparator<Member<?>>

  The Class PeriodComparator.
  Author:
    Ignacio

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `PeriodComparator.PeriodComparatorType` The Enum PeriodComparatorType.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PeriodComparator(PeriodComparator.PeriodComparatorType mode)` Instantiates a new period comparator.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(Member<?> o1, Member<?> o2)`

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

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

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

      `equals`

- - ### Constructor Detail

    - #### PeriodComparator

          public PeriodComparator(PeriodComparator.PeriodComparatorType mode)

      Instantiates a new period comparator.
      Parameters:
        `mode` - the mode

  - ### Method Detail

    - #### compare

          public int compare(Member<?> o1,
                    Member<?> o2)

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