- 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 intfullRangeBit
-
Constructor Summary
Constructors Constructor Description FullRangeMasker(int fullRangeBit, boolean isSequential)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetMaskedLower(long value, long maskValue)The lowest masked value, which is not necessarily the lowest value maskedlonggetMaskedUpper(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.MaskerThe lowest masked value, which is not necessarily the lowest value masked- Overrides:
getMaskedLowerin classParsedIPAddress.Masker- Returns:
-
getMaskedUpper
public long getMaskedUpper(long upperValue, long maskValue)Description copied from class:ParsedIPAddress.MaskerThe highest masked value, which is not necessarily the highest value masked- Overrides:
getMaskedUpperin classParsedIPAddress.Masker- Returns:
-
-