- java.lang.Object
-
- inet.ipaddr.format.standard.AddressDivision.BitwiseOrResult
-
- Enclosing class:
- AddressDivision
public static class AddressDivision.BitwiseOrResult extends java.lang.ObjectRepresents the result of a bitwise or of a sequential range of values- Author:
- seancfoley
-
-
Constructor Summary
Constructors Constructor Description BitwiseOrResult(long value, long upperValue, long maskValue, ParsedIPAddress.BitwiseOrer masker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetOredLower()The lowest ored value, which is not necessarily the lowest value oredlonggetOredUpper()The highest ored value, which is not necessarily the highest value oredbooleanisSequential()Whether masking all values in the range results in a sequential set of values
-
-
-
Constructor Detail
-
BitwiseOrResult
public BitwiseOrResult(long value, long upperValue, long maskValue, ParsedIPAddress.BitwiseOrer masker)
-
-
Method Detail
-
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:
-
-