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