public static class AbsoluteOrder.AbsoluteComparator extends Object implements Comparator<Member>, Serializable
| Constructor and Description |
|---|
AbsoluteComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Member m1,
Member m2) |
protected int |
compareBytes(byte[] d1,
byte[] d2) |
protected int |
compareBytes(byte b1,
byte b2) |
int |
compareIds(Member m1,
Member m2) |
protected int |
compareInts(int b1,
int b2) |
int |
compareIps(Member m1,
Member m2) |
int |
comparePorts(Member m1,
Member m2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(Member m1, Member m2)
compare in interface Comparator<Member>protected int compareBytes(byte[] d1,
byte[] d2)
protected int compareBytes(byte b1,
byte b2)
protected int compareInts(int b1,
int b2)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.