public static class AbsoluteOrder.AbsoluteComparator extends java.lang.Object implements java.util.Comparator<Member>, java.io.Serializable
Constructor and Description |
---|
AbsoluteOrder.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) |
public int compare(Member m1, Member m2)
compare
in interface java.util.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-2015 Apache Software Foundation. All Rights Reserved.