java.lang.Object
dev.argon.esexpr.UnsignedShort
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ESExprCodec<UnsignedShort> The codec forUnsignedShort. -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic UnsignedShortfromShortBits(short value) Returns anUnsignedShortwhose value is equal to the specified short.inthashCode()intintValue()Returns the value as an int.shortReturns the value as a short.toString()
-
Field Details
-
INSTANCE
The codec forUnsignedShort.
-
-
Method Details
-
shortValue
public short shortValue()Returns the value as a short.- Returns:
- The value as a short.
-
intValue
public int intValue()Returns the value as an int.- Returns:
- The value as an int.
-
fromShortBits
Returns anUnsignedShortwhose value is equal to the specified short.- Parameters:
value- The value to wrap.- Returns:
- An
UnsignedShortinstance.
-
hashCode
-
equals
-
toString
-