Fields
| Name | Description |
|---|---|
| MAX_VALUE | The maximum value a Short can have. |
| MIN_VALUE | The minimum value a Short can have. |
| TYPE | The Class object representing the primitive type short. |
Constructors
| Name | Description |
|---|---|
| Short(short) | Constructs a Short object initialized to the specified short value. |
| Short(String) | Constructs a Short object initialized to the value specified by the String parameter. |
Methods
| Name | Description |
|---|---|
| byteValue() | Returns the value of this Short as a byte. |
| decode(String) | Decodes a String into a Short. |
| doubleValue() | Returns the value of this Short as a double. |
| equals(Object) | Compares this object to the specified object. |
| floatValue() | Returns the value of this Short as a float. |
| hashCode() | Returns a hashcode for this Short. |
| intValue() | Returns the value of this Short as an int. |
| longValue() | Returns the value of this Short as a long. |
| parseShort(String) | Assuming the specified String represents a short, returns that short's value. |
| parseShort(String, int) | Assuming the specified String represents a short, returns that short's value. |
| shortValue() | Returns the value of this Short as a short. |
| toString() | Returns a String object representing this Short's value. |
| toString(short) | Returns a new String object representing the specified Short. |
| valueOf(String) | Assuming the specified String represents a short, returns a new Short object initialized to that value. |
| valueOf(String, int) | Assuming the specified String represents a short, returns a new Short object initialized to that value. |