Constructor Short(String s)
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
defaultValue = new Short(prop);
2
emptyValue = new Short(prop);
3
setValue(new Short(txt));
4
return new Short(txt);
5
return new Bean(short.class, new Short(value));
6
return new Short(string.substring(1));
7
return new java.lang.Short(value);
8
return new Short((String) object);
9
Short id = new Short(elem.getAttribute(ID));
10
assertTrue("Correct short2 value", new Short("2").equals(bw.getPropertyValue("short2")));
11
return new Short(s);
12
else if((lobjColumnClass == Short.TYPE) || (lobjColumnClass == Short.class)) {lobNewValue = new Short(lobjData.toString());}
13
args[0] = new Short(value);
14
assertEquals(new Short("11"),jocl.getValue(7));
15
new java.lang.Short(value);
16
s = new Short((String) value);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.