Class IpamService.IPAddressComparator
- java.lang.Object
-
- com.neotropic.kuwaiba.modules.commercial.ipam.IpamService.IPAddressComparator
-
- All Implemented Interfaces:
Comparator<BusinessObjectLight>
- Enclosing class:
- IpamService
public class IpamService.IPAddressComparator extends Object implements Comparator<BusinessObjectLight>
Custom comparator to sort lists of IP addresses
-
-
Constructor Summary
Constructors Constructor Description IPAddressComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(BusinessObjectLight ipAddrA, BusinessObjectLight ipAddrB)
-
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
-
-
-
-
Method Detail
-
compare
public int compare(BusinessObjectLight ipAddrA, BusinessObjectLight ipAddrB)
- Specified by:
compare
in interfaceComparator<BusinessObjectLight>
-
-