java.lang.Object
inet.ipaddr.format.standard.AddressDivision.BitwiseOrResult
- Enclosing class:
AddressDivision
Represents the result of a bitwise or of a sequential range of values
- Author:
- seancfoley
-
Constructor Summary
ConstructorsConstructorDescriptionBitwiseOrResult
(long value, long upperValue, long maskValue, ParsedIPAddress.BitwiseOrer masker) -
Method Summary
Modifier and TypeMethodDescriptionlong
The lowest ored value, which is not necessarily the lowest value oredlong
The highest ored value, which is not necessarily the highest value oredboolean
Whether masking all values in the range results in a sequential set of values
-
Constructor Details
-
BitwiseOrResult
public BitwiseOrResult(long value, long upperValue, long maskValue, ParsedIPAddress.BitwiseOrer masker)
-
-
Method Details
-
getOredLower
public long getOredLower()The lowest ored value, which is not necessarily the lowest value ored- Returns:
-
getOredUpper
public long getOredUpper()The highest ored value, which is not necessarily the highest value ored- Returns:
-
isSequential
public boolean isSequential()Whether masking all values in the range results in a sequential set of values- Returns:
-