|
CLDC Beta 2 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Short
The Short class is the standard wrapper for short values.
Field Summary | |
static short |
MAX_VALUE
The maximum value a Short can have. |
static short |
MIN_VALUE
The minimum value a Short can have. |
Constructor Summary | |
Short(short value)
Constructs a Short object initialized to the specified short value. |
Method Summary | |
boolean |
equals(Object obj)
Compares this object to the specified object. |
int |
hashCode()
Returns a hashcode for this Short. |
short |
shortValue()
Returns the value of this Short as a short. |
Methods inherited from class java.lang.Object |
getClass,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final short MIN_VALUE
public static final short MAX_VALUE
Constructor Detail |
public Short(short value)
value
- the initial value of the ShortMethod Detail |
public short shortValue()
public int hashCode()
Object.equals(java.lang.Object)
,
Hashtable
public boolean equals(Object obj)
obj
- the object to compare with
|
Submit a bug or feature Java is trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries. Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |