public interface IPAddressComparator extends java.util.Comparator<IPAddress>
Modifier and Type | Interface and Description |
---|---|
static class |
IPAddressComparator.CountComparator |
static class |
IPAddressComparator.ValueComparator
This is similar to the default comparator CountComparator in the way they treat addresses representing a single address.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(IPAddressDivision one,
IPAddressDivision two) |
int |
compare(IPAddressSegmentGrouping one,
IPAddressSegmentGrouping two) |
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
int compare(IPAddressSegmentGrouping one, IPAddressSegmentGrouping two)
int compare(IPAddressDivision one, IPAddressDivision two)