Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Done
-
None
-
None
-
None
-
None
Description
The constructors of this class has been modified to create a object of subnet summary information.
Also, added two new static methods to create the object.
Change log
3/24/17
- Replace The SubnetInfo subclass of SubnetUtils
- SubnetUtils.SubnetInfo works as the abstract class of IP4Subnet and IP6Subnet
- A few methods of SubnetUtils, rangeCheck, pop, and format, were moved into the SubnetInfo subclass
- The getAddressCount and getAllAddresses methods were reimplemented
- For compatibility
- Moved IP4Subnet and IP6Subnet classes into the until package
3/23/17
- Renamed getAddressCount() to getAddressCountString()
- The old name, getAddressCount(), was the obsoleted name and confused others
- Removed the insignificant value representation, which are no reasons to be defined in this class
Changes the path to SubnetInfo (SubnetUtilsExample.java and SubnetUtilsTest.java)Replaced getAddressCount to getAddressLong in the SubnetUtilsTest class- Improved comments