Thousands of examples at your fingertips!
All classes, methods fields etc. are linked to the API documentation.
All members are listed by frequency of use or alphabetically (see left pane).
Links to examples and utility functions/classes are shown below
Class java.lang.Short
[api documentation] [ main menu] Search

Links to examples (only one line shown below for each example):
[add your own example]

1 String.valueOf(Short.MIN_VALUE),
2 randList.add(new Short((short) rand.nextInt()));
3 Short temp;
4 if (tmp > Short.MAX_VALUE || tmp < Short.MIN_VALUE)
5 short v = ((Short)value).shortValue();
6 String.class, Short.TYPE, Short.TYPE, Short.TYPE
7 disp.put("propShortIndexed", new Short((short)3), new Short((short)118));
8 if (test > Short.MAX_VALUE)
9 return new Short(s).toString();
10 protected static Rectangle viewRect = new Rectangle(Short.MAX_VALUE, Short.MAX_VALUE);
11 static Rectangle viewRect = new Rectangle(Short.MAX_VALUE, Short.MAX_VALUE);
12 info.setValue(new Short(Short.MAX_VALUE).toString());
13 ips[i][0] = Short.parseShort(ip.substring(0, idx1));
14 return Short.valueOf(nullValue).equals(realValue);
15 v = Short.parseShort(value.substring(2), 16);
16 defaultShort = new Short(newDefaultShort);
17 Short shortObj = new Short(num);
18 return getShort(key, new Short(defaultValue)).shortValue();
19 return getShort(s, new Short(word0)).shortValue();
20 return Short.parseShort( getValue( key ) );

Links to utility classes and functions:

1 org.apache.commons.beanutils.converters.ShortArrayConverter
2 org.apache.xerces.impl.xs.util.ShortListImpl
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.