public final class ShortValue extends PrimitiveValueBase
Constructor and Description |
---|
ShortValue() |
Modifier and Type | Method and Description |
---|---|
PrimitiveValueType |
getType()
Returns the type of primitive value this instance represents.
|
Object |
getValueObject()
Returns a value object.
|
void |
parse(String value)
Parse the string literal value into the specific data type.
|
static short |
parseString(String value)
Parses a string value as a short.
|
void |
setShort(short x)
Set a short value.
|
String |
toString() |
parse, setBoolean, setByte, setDouble, setFloat, setInt, setLong, setString
public PrimitiveValueType getType()
PrimitiveValue
public static short parseString(String value)
value
- to parsepublic final void parse(String value)
PrimitiveValue
value
- is the textual value to parsepublic final Object getValueObject()
PrimitiveValue
public final void setShort(short x)
PrimitiveValue
setShort
in interface PrimitiveValue
setShort
in class PrimitiveValueBase
x
- is the value to set