Module inet.ipaddr

Class AddressDivision.MaskResult

java.lang.Object
inet.ipaddr.format.standard.AddressDivision.MaskResult
Enclosing class:
AddressDivision

public static class AddressDivision.MaskResult extends Object
Represents the result of masking a sequential range of values
Author:
seancfoley
  • Constructor Details

    • MaskResult

      public MaskResult(long value, long upperValue, long maskValue, ParsedIPAddress.Masker masker)
  • Method Details

    • getMaskedLower

      public long getMaskedLower()
      The lowest masked value, which is not necessarily the lowest value masked
      Returns:
    • getMaskedUpper

      public long getMaskedUpper()
      The highest masked value, which is not necessarily the highest value masked
      Returns:
    • isSequential

      public boolean isSequential()
      Whether masking all values in the range results in a sequential set of values
      Returns: