public static class AddressComparator.CountComparator extends AddressComparator
AddressItem.getBitCount()
, then by count of values for similar items, (AddressItem.getCount()
) and if both match,
defers to the address item values for comparison.
Also see AddressComparator.ValueComparator
AddressComparator.CountComparator, AddressComparator.ValueComparator
Constructor and Description |
---|
CountComparator() |
CountComparator(boolean equalsConsistent) |
compare, compare, compare, compare, compare, compare, compare
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong