Module inet.ipaddr

Class ParsedIPAddress.FullRangeMasker

java.lang.Object
inet.ipaddr.format.validate.ParsedIPAddress.Masker
inet.ipaddr.format.validate.ParsedIPAddress.FullRangeMasker
All Implemented Interfaces:
Serializable
Enclosing class:
ParsedIPAddress

public static class ParsedIPAddress.FullRangeMasker extends ParsedIPAddress.Masker
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    FullRangeMasker(int fullRangeBit, boolean isSequential)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    getMaskedLower(long value, long maskValue)
    The lowest masked value, which is not necessarily the lowest value masked
    long
    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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • fullRangeBit

      public final int fullRangeBit
  • Constructor Details

    • FullRangeMasker

      public FullRangeMasker(int fullRangeBit, boolean isSequential)
  • Method Details

    • 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 class ParsedIPAddress.Masker
      Parameters:
      maskValue -
      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 class ParsedIPAddress.Masker
      Parameters:
      upperValue -
      maskValue -
      Returns: