Package org.opendaylight.protocol.util
Class Values
java.lang.Object
org.opendaylight.protocol.util.Values
Util class for storing various util values as constants.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Maximum unsigned Byte value in hex (0xFF).static final int
In order to get the value in first bit, we need to shift the byte by 7.static final int
Maximum unsigned Byte value (255).static final long
Maximum unsigned Integer value (2147483648).static final int
Maximum unsigned Short value (65535). -
Method Summary
-
Field Details
-
UNSIGNED_SHORT_MAX_VALUE
public static final int UNSIGNED_SHORT_MAX_VALUEMaximum unsigned Short value (65535).- See Also:
-
UNSIGNED_BYTE_MAX_VALUE
public static final int UNSIGNED_BYTE_MAX_VALUEMaximum unsigned Byte value (255).- See Also:
-
UNSIGNED_INT_MAX_VALUE
public static final long UNSIGNED_INT_MAX_VALUEMaximum unsigned Integer value (2147483648).- See Also:
-
BYTE_MAX_VALUE_BYTES
public static final int BYTE_MAX_VALUE_BYTESMaximum unsigned Byte value in hex (0xFF).- See Also:
-
FIRST_BIT_OFFSET
public static final int FIRST_BIT_OFFSETIn order to get the value in first bit, we need to shift the byte by 7.- See Also:
-