Searched refs:Short (Results 26 - 50 of 278) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/beans/PropertyEditor/
H A DTestShortTypeValue.java33 TestEditor test = new TestEditor(Short.TYPE);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DBox.java165 new Dimension(width, Short.MAX_VALUE));
189 new Dimension(Short.MAX_VALUE, height));
238 new Dimension(Short.MAX_VALUE, Short.MAX_VALUE));
248 new Dimension(Short.MAX_VALUE, 0));
258 new Dimension(0, Short.MAX_VALUE));
/openjdk7/jdk/test/java/beans/XMLDecoder/spec/
H A DTestInt.java53 validate((int) Short.MAX_VALUE, decoder.readObject());
54 validate((int) Short.MIN_VALUE, decoder.readObject());
H A DTestLong.java55 validate((long) Short.MAX_VALUE, decoder.readObject());
56 validate((long) Short.MIN_VALUE, decoder.readObject());
/openjdk7/jdk/test/java/lang/
H A DHashCode.java39 Short.MIN_VALUE,
45 Short.MAX_VALUE,
55 check( new Short((short)x).hashCode() == (short) x);
56 check(Short.valueOf((short)x).hashCode() == (short) x);
H A DToString.java66 Short S = new Short(s);
67 if (!S.toString().equals(Short.toString(s)))
68 throw new RuntimeException("Short wrapper toString() failure.");
H A DCompare.java47 check(Short.compare((short) x, (short) y) ==
48 Short.valueOf((short) x).compareTo(Short.valueOf((short) y)));
61 check(Short.compare((short) x, (short) y) ==
62 -Short.compare((short) y, (short) x));
79 equal(Short.compare(a, b),
106 Short.MIN_VALUE,
112 Short.MAX_VALUE,
/openjdk7/jdk/test/java/lang/invoke/6987555/
H A DTest6987555.java115 Short.MIN_VALUE,
116 Short.MIN_VALUE + 1,
126 Short.MAX_VALUE - 1,
127 Short.MAX_VALUE
136 MethodHandle mh2 = mh1.asType(MethodType.methodType(short.class, Short.class));
138 short b = (short) mh2.invokeExact(Short.valueOf(x));
/openjdk7/langtools/test/tools/javac/boxing/
H A DBoxingCaching.java179 Short results[] = new Short[-(-128) + 127 +1];
184 Short S = (short)(i-128);
187 System.err.println("Short value " + S +
192 for(int i = Short.MIN_VALUE; i < Short.MAX_VALUE; i++) {
193 Short S;
/openjdk7/jdk/src/share/classes/java/rmi/server/
H A DUID.java78 private static short lastCount = Short.MIN_VALUE;
116 if (lastCount == Short.MAX_VALUE) {
132 lastCount = Short.MIN_VALUE;
/openjdk7/jdk/test/java/beans/Performance/
H A DTest7184799.java43 Short.class,
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRUtils.java253 return (short) (x > Short.MAX_VALUE
254 ? Short.MAX_VALUE
255 : (x < Short.MIN_VALUE ? Short.MIN_VALUE : x));
/openjdk7/jdk/src/share/classes/sun/awt/
H A DFontConfiguration.java464 private Set<Short> coreFontNameIDs = new HashSet<Short>();
465 private Set<Short> fallbackFontNameIDs = new HashSet<Short>();
1188 Short[] emptyShortArray = new Short[0];
1189 Short[] core = coreFontNameIDs.toArray(emptyShortArray);
1190 Short[] fallback = fallbackFontNameIDs.toArray(emptyShortArray);
1645 private HashMap<String, Short> reorderScripts;
1658 reorderScripts = new HashMap<String, Short>();
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/
H A DFloatValueImpl.java123 if ((value > Short.MAX_VALUE) || (value < Short.MIN_VALUE)) {
H A DIntegerValueImpl.java116 if ((value > Short.MAX_VALUE) || (value < Short.MIN_VALUE)) {
H A DLongValueImpl.java123 if ((value > Short.MAX_VALUE) || (value < Short.MIN_VALUE)) {
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DFloatValueImpl.java124 if ((value > Short.MAX_VALUE) || (value < Short.MIN_VALUE)) {
H A DIntegerValueImpl.java118 if ((value > Short.MAX_VALUE) || (value < Short.MIN_VALUE)) {
H A DLongValueImpl.java124 if ((value > Short.MAX_VALUE) || (value < Short.MIN_VALUE)) {
/openjdk7/jdk/src/share/classes/com/sun/beans/finder/
H A DPrimitiveWrapperMap.java73 map.put(Short.TYPE.getName(), Short.class);
/openjdk7/hotspot/test/compiler/6946040/
H A DTestCharShortByteSwap.java28 * @summary Tests Character/Short.reverseBytes and their intrinsics implementation in the server compiler
64 if (a != Short.reverseBytes(b)) {
65 throw new RuntimeException("FAIL: " + (int)a + " != Short.reverseBytes(" + (int)b + ")");
67 if (b != Short.reverseBytes(a)) {
68 throw new RuntimeException("FAIL: " + (int)b + " != Short.reverseBytes(" + (int)a + ")");
/openjdk7/jdk/test/java/net/InetAddress/
H A DHashSpread.java74 int MIN_SHORT = (int)Short.MIN_VALUE;
75 int MAX_SHORT = (int)Short.MAX_VALUE;
/openjdk7/jdk/test/java/util/Formatter/
H A DgenBasic.sh42 gen short Short prim "" dec ""
43 gen Short ShortObject "" "" dec ""
/openjdk7/jdk/src/share/classes/javax/management/openmbean/
H A DSimpleType.java98 * Java class name is <code>java.lang.Short</code>.
100 public static final SimpleType<Short> SHORT =
101 new SimpleType<Short>(Short.class);
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DSF2Region.java100 protected Map<Integer, Short> generators = new HashMap<Integer, Short>();
103 public Map<Integer, Short> getGenerators() {

Completed in 6036 milliseconds

1234567891011>>