Class ParsedIPAddress.WrappedMasker
java.lang.Object
inet.ipaddr.format.validate.ParsedIPAddress.Masker
inet.ipaddr.format.validate.ParsedIPAddress.ExtendedMasker
inet.ipaddr.format.validate.ParsedIPAddress.WrappedMasker
- All Implemented Interfaces:
Serializable
- Enclosing class:
ParsedIPAddress
- Author:
- sfoley
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionlonggetMaskedLower(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 maskedMethods inherited from class ParsedIPAddress.ExtendedMasker
getExtendedLowerMasked, getExtendedMaskedLower, getExtendedMaskedUpper, getExtendedUpperMaskedMethods inherited from class ParsedIPAddress.Masker
isSequential
-
Method Details
-
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- Parameters:
maskValue-- 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- Parameters:
upperValue-maskValue-- Returns:
-