- java.lang.Object
-
- inet.ipaddr.format.standard.AddressDivision.MaskResult
-
- Enclosing class:
- AddressDivision
public static class AddressDivision.MaskResult extends java.lang.Object
Represents the result of masking a sequential range of values- Author:
- seancfoley
-
-
Constructor Summary
Constructors Constructor Description MaskResult(long value, long upperValue, long maskValue, ParsedIPAddress.Masker masker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getMaskedLower()
The lowest masked value, which is not necessarily the lowest value maskedlong
getMaskedUpper()
The highest masked value, which is not necessarily the highest value maskedboolean
isSequential()
Whether masking all values in the range results in a sequential set of values
-
-
-
Constructor Detail
-
MaskResult
public MaskResult(long value, long upperValue, long maskValue, ParsedIPAddress.Masker masker)
-
-
Method Detail
-
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:
-
-