IPRange constructor

IPRange(
  1. String networkAddress,
  2. int netmask
)

Implementation

IPRange(String networkAddress, int netmask) {
  List<int> octets = getOctetsOfIpAddress(networkAddress);
  this.address = octetsToInteger(octets);

  this.netmask = netmask;
}