Class Group.DataRightComparator<T extends Group>

  • Type Parameters:
    T - Group class
    All Implemented Interfaces:
    Enclosing class:

    public static class Group.DataRightComparator<T extends Group>
    extends java.lang.Object
    implements java.util.Comparator<T>
    This comparator sort groups according the DataRight they have.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(T g1, T g2)  
      • 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

      • DataRightComparator

        public DataRightComparator()
    • Method Detail

      • compare

        public int compare​(T g1,
                           T g2)
        Specified by:
        compare in interface java.util.Comparator<T extends Group>