Module inet.ipaddr

Class ParsedIPAddress.FullRangeMasker

    • 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 masked
      long getMaskedUpper​(long upperValue, long maskValue)
      The highest masked value, which is not necessarily the highest value masked
      • Methods inherited from class java.lang.Object

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

      • fullRangeBit

        public final int fullRangeBit
    • Constructor Detail

      • FullRangeMasker

        public FullRangeMasker​(int fullRangeBit,
                               boolean isSequential)