org.limewire.io
Class IpPort.IpComparator
java.lang.Object
org.limewire.io.IpPort.IpComparator
- All Implemented Interfaces:
- Comparator<IpPort>
- Enclosing interface:
- IpPort
public static class IpPort.IpComparator
- extends Object
- implements Comparator<IpPort>
An IpPort Comparator that only looks at the IP portion, not the port.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IpPort.IpComparator
public IpPort.IpComparator()
compare
public int compare(IpPort ip1,
IpPort ip2)
- Specified by:
compare in interface Comparator<IpPort>
Copyright © 2009. All Rights Reserved.