Class AccessControlEntryComparator

  • All Implemented Interfaces:
    Comparator<org.bremersee.common.model.AccessControlEntry>

    public class AccessControlEntryComparator
    extends Object
    implements Comparator<org.bremersee.common.model.AccessControlEntry>
    The access control entry comparator sorts the entries by permission.
    Author:
    Christian Bremer
    • Constructor Detail

      • AccessControlEntryComparator

        public AccessControlEntryComparator()
    • Method Detail

      • compare

        public int compare​(org.bremersee.common.model.AccessControlEntry o1,
                           org.bremersee.common.model.AccessControlEntry o2)
        Specified by:
        compare in interface Comparator<org.bremersee.common.model.AccessControlEntry>