Method shortValue()
Return type: short
Member of: java.lang.Number
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 return new Character((char) a.shortValue());
2 short pa = ((Number)a).shortValue();
3 out.writeShort (((Number) itr.next ()).shortValue ());
4 out.writeShort (((Number) i.next ()).shortValue ());
5 return new Short(number.shortValue());
6 return new Short(answer.shortValue());
7 return new Short(((Number)value).shortValue());
8 setDaysByShort(new Short(format.parse(days).shortValue()));
9 ((char) ((Number) pValue).shortValue ());
10 setValue(new Short(number.shortValue()));
11 sendMsg.writeShort (bd.shortValue());
12 setShort(parameterIndex, ((Number) x).shortValue());
13 return new Short(((Number)obj).shortValue());
14 s = new Short(((Number) value).shortValue());
15 return new Short(numb.shortValue());
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.