Module inet.ipaddr

Class AddressDivision.BitwiseOrResult

  • Enclosing class:
    AddressDivision

    public static class AddressDivision.BitwiseOrResult
    extends java.lang.Object
    Represents the result of a bitwise or of a sequential range of values
    Author:
    seancfoley
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getOredLower()
      The lowest ored value, which is not necessarily the lowest value ored
      long getOredUpper()
      The highest ored value, which is not necessarily the highest value ored
      boolean isSequential()
      Whether masking all values in the range results in a sequential set of values
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getOredLower

        public long getOredLower()
        The lowest ored value, which is not necessarily the lowest value ored
        Returns:
      • getOredUpper

        public long getOredUpper()
        The highest ored value, which is not necessarily the highest value ored
        Returns:
      • isSequential

        public boolean isSequential()
        Whether masking all values in the range results in a sequential set of values
        Returns: