Method parseShort(String s)
Return type: short
Member of:
java.lang.Short
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
myValue = Short.parseShort(aString);
2
shortEnums[i] = Short.parseShort(enums[i]);
3
val = Short.parseShort (name.substring (1));
4
ips[i][0] = Short.parseShort(ip.substring(0, idx1));
5
short keyLength = Short.parseShort(getProperty(alias, "length"));
6
v = Short.parseShort(value);
7
short val = Short.parseShort(getAttributeValue(ATT_VALUE,attr,"0"));
8
results[i] = Short.parseShort(values[i]);
9
Short.parseShort(value);
10
tmpval[i] = Short.parseShort (values[i]);
11
Array.setShort(arr, j, Short.parseShort(st.nextToken()));
12
try {PARSING_MODE=Short.parseShort(e.getAttribute("parsingMode"));} catch (NullPointerException ex47){}catch (NumberFormatException ex1012){}
13
tmpElem = Short.parseShort ((String)element);
14
short shrt = Short.parseShort(txt);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.