Constructor Short(short value)
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
return new Short(s).toString();
2
private static Object [] expectedArgs = {"one", new Integer(2), new Float(3.0f), new Short((short)4), new Boolean(true)};
3
public final void put(Object o, short s) { put(o, new Short(s)); }
4
return getShort(s, new Short(word0)).shortValue();
5
return new Short(myValue);
6
return new Short(rs.getShort(mapping.getColumnName()));
7
return new Short(rs.getShort(mapping.getColumnIndex().intValue()));
8
return (SymbolInfo)names.get(new Short(symbol));
9
return getCollection().add(new Short(element));
10
return getCollection().contains(new Short(element));
11
return (short[])push(array, new Short(val));
12
setParameter(i,new Short(s));
13
new Short((short)3));
14
disp.put("propShort", new Short((short)117));
15
setObjectAsString(p0, new Short(p1));
16
defaultShort = new Short(newDefaultShort);
17
return new ShortValueImpl(virtualMachineImpl(), new Short(value));
18
return flag ? new Short((short)1) : new Short((short)0);
19
updateValue(columnIndex, new Short(x));
20
m_vo.setParameter(parameterIndex, new Short(x));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.