Module inet.ipaddr
Package inet.ipaddr.format.validate
Class ParsedIPAddress.SpecificValueBitwiseOrer
java.lang.Object
inet.ipaddr.format.validate.ParsedIPAddress.BitwiseOrer
inet.ipaddr.format.validate.ParsedIPAddress.SpecificValueBitwiseOrer
- All Implemented Interfaces:
Serializable
- Enclosing class:
ParsedIPAddress
The analog to SpecificValueMasker for oring
- Author:
- seancfoley
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
getOredLower
(long value, long maskValue) long
getOredUpper
(long upperValue, long maskValue) Methods inherited from class inet.ipaddr.format.validate.ParsedIPAddress.BitwiseOrer
isSequential
-
Constructor Details
-
SpecificValueBitwiseOrer
public SpecificValueBitwiseOrer(long lower, long upper)
-
-
Method Details
-
getOredLower
public long getOredLower(long value, long maskValue) - Overrides:
getOredLower
in classParsedIPAddress.BitwiseOrer
-
getOredUpper
public long getOredUpper(long upperValue, long maskValue) - Overrides:
getOredUpper
in classParsedIPAddress.BitwiseOrer
-