- java.lang.Object
-
- inet.ipaddr.format.validate.ParsedIPAddress.Masker
-
- inet.ipaddr.format.validate.ParsedIPAddress.FullRangeMasker
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ParsedIPAddress
public static class ParsedIPAddress.FullRangeMasker extends ParsedIPAddress.Masker
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description int
fullRangeBit
-
Constructor Summary
Constructors Constructor Description FullRangeMasker(int fullRangeBit, boolean isSequential)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getMaskedLower(long value, long maskValue)
The lowest masked value, which is not necessarily the lowest value maskedlong
getMaskedUpper(long upperValue, long maskValue)
The highest masked value, which is not necessarily the highest value masked-
Methods inherited from class inet.ipaddr.format.validate.ParsedIPAddress.Masker
isSequential
-
-
-
-
Method Detail
-
getMaskedLower
public long getMaskedLower(long value, long maskValue)
Description copied from class:ParsedIPAddress.Masker
The lowest masked value, which is not necessarily the lowest value masked- Overrides:
getMaskedLower
in classParsedIPAddress.Masker
- Returns:
-
getMaskedUpper
public long getMaskedUpper(long upperValue, long maskValue)
Description copied from class:ParsedIPAddress.Masker
The highest masked value, which is not necessarily the highest value masked- Overrides:
getMaskedUpper
in classParsedIPAddress.Masker
- Returns:
-
-