Class Values

java.lang.Object
org.opendaylight.protocol.util.Values

public final class Values extends Object
Util class for storing various util values as constants.
  • Field Details

    • UNSIGNED_SHORT_MAX_VALUE

      public static final int UNSIGNED_SHORT_MAX_VALUE
      Maximum unsigned Short value (65535).
      See Also:
    • UNSIGNED_BYTE_MAX_VALUE

      public static final int UNSIGNED_BYTE_MAX_VALUE
      Maximum unsigned Byte value (255).
      See Also:
    • UNSIGNED_INT_MAX_VALUE

      public static final long UNSIGNED_INT_MAX_VALUE
      Maximum unsigned Integer value (2147483648).
      See Also:
    • BYTE_MAX_VALUE_BYTES

      public static final int BYTE_MAX_VALUE_BYTES
      Maximum unsigned Byte value in hex (0xFF).
      See Also:
    • FIRST_BIT_OFFSET

      public static final int FIRST_BIT_OFFSET
      In order to get the value in first bit, we need to shift the byte by 7.
      See Also: