Class AbsoluteOrder.AbsoluteComparator

  • All Implemented Interfaces:
    java.io.Serializable, java.util.Comparator<Member>
    Enclosing class:
    AbsoluteOrder

    public static class AbsoluteOrder.AbsoluteComparator
    extends java.lang.Object
    implements java.util.Comparator<Member>, java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • AbsoluteComparator

        public AbsoluteComparator()
    • Method Detail

      • compare

        public int compare​(Member m1,
                           Member m2)
        Specified by:
        compare in interface java.util.Comparator<Member>
      • compareIps

        public int compareIps​(Member m1,
                              Member m2)
      • comparePorts

        public int comparePorts​(Member m1,
                                Member m2)
      • compareIds

        public int compareIds​(Member m1,
                              Member m2)
      • compareBytes

        protected int compareBytes​(byte[] d1,
                                   byte[] d2)
      • compareBytes

        protected int compareBytes​(byte b1,
                                   byte b2)
      • compareInts

        protected int compareInts​(int b1,
                                  int b2)