Package i2p.susi.dns
Class AddressByNameSorter
java.lang.Object
i2p.susi.dns.AddressByNameSorter
- All Implemented Interfaces:
Serializable
,Comparator<AddressBean>
public class AddressByNameSorter extends Object implements Comparator<AddressBean>, Serializable
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description AddressByNameSorter()
-
Method Summary
Modifier and Type Method Description int
compare(AddressBean a, AddressBean b)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
AddressByNameSorter
public AddressByNameSorter()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<AddressBean>
-