/libcore/ojluni/src/main/java/java/lang/ |
H A D | Number.java | 118 public short shortValue() { method in class:Number
|
H A D | Short.java | 337 public short shortValue() { method in class:Short 426 return value == ((Short)obj).shortValue();
|
H A D | Byte.java | 332 public short shortValue() { method in class:Byte
|
H A D | Double.java | 669 public short shortValue() { method in class:Double
|
H A D | Float.java | 592 public short shortValue() { method in class:Float
|
H A D | Integer.java | 919 public short shortValue() { method in class:Integer
|
H A D | Long.java | 987 public short shortValue() { method in class:Long
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | NumberTest.java | 45 * java.lang.Number#shortValue() 51 .shortValue()); 55 .shortValue()); 59 .shortValue()); 63 .shortValue());
|
H A D | ShortTest.java | 68 .shortValue() == (short) -1); 70 .shortValue() == (short) -100); 72 .shortValue() == (short) 23); 74 .shortValue() == (short) 16); 76 .shortValue() == (short) 32767); 78 .shortValue() == (short) -32767); 80 .shortValue() == (short) -32768); 292 .shortValue()); 294 .shortValue()); 305 .shortValue()); [all...] |
H A D | ByteTest.java | 345 * java.lang.Byte#shortValue() 348 assertEquals(-1, new Byte((byte) -1).shortValue()); 349 assertEquals(0, new Byte((byte) 0).shortValue()); 350 assertEquals(1, new Byte((byte) 1).shortValue()); 614 * java.lang.Byte#shortValue() 617 assertEquals((short) 127, new Byte((byte) 127).shortValue());
|
H A D | IntegerTest.java | 433 * java.lang.Integer#shortValue() 436 // Test for method short java.lang.Integer.shortValue() 438 assertEquals("Returned incorrect long value", -32768, i.shortValue()); 996 * java.lang.Integer#shortValue() 999 assertEquals(-1, new Integer(-1).shortValue()); 1000 assertEquals(0, new Integer(0).shortValue()); 1001 assertEquals(1, new Integer(1).shortValue());
|
H A D | LongTest.java | 831 * java.lang.Long#shortValue() 834 assertEquals(-1, new Long(-1).shortValue()); 835 assertEquals(0, new Long(0).shortValue()); 836 assertEquals(1, new Long(1).shortValue());
|
H A D | FloatTest.java | 819 * java.lang.Float#shortValue() 822 // Test for method short java.lang.Float.shortValue() 825 assertTrue("Returned incorrect short value", f.shortValue() == 0 826 && f2.shortValue() == 90);
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_GetPutFields.java | 44 public short shortValue = 0; field in class:Support_GetPutFields 85 shortValue = 1234; 102 shortValue == other.shortValue 117 shortValue = getField.get("shortValue", (short) 0); 130 putField.put("shortValue", shortValue);
|
H A D | Support_GetPutFieldsDeprecated.java | 46 public short shortValue = 0; field in class:Support_GetPutFieldsDeprecated 87 shortValue = 3078; 104 shortValue == other.shortValue 118 shortValue = getField.get("shortValue", (short) 0); 131 putField.put("shortValue", shortValue);
|
H A D | Support_GetPutFieldsDefaulted.java | 55 public short shortValue = 0; field in class:Support_GetPutFieldsDefaulted 96 shortValue = 4321; 113 shortValue == other.shortValue 129 shortValue = getField.get("shortValue", (short) 4321);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | ShortTest.java | 48 assertEquals(b, Integer.valueOf(b).shortValue()); 57 assertEquals(b, Long.valueOf(b).shortValue());
|
/libcore/support/src/test/java/tests/util/ |
H A D | CallVerificationStack.java | 279 return value.shortValue();
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
H A D | MethodHandleAccessorsTest.java | 475 short shortValue = value instanceof Short ? ((Short)value).shortValue() : (short)0; 476 setShort(methodHandle, valueHolder, shortValue, 478 setShort(methodHandle, shortValue, 480 getShort(methodHandle, valueHolder, shortValue, 482 getShort(methodHandle, shortValue,
|
/libcore/luni/src/test/java/libcore/java/math/ |
H A D | OldBigDecimalConvertTest.java | 345 assertTrue("incorrect value", aNumber.shortValue() == result); 352 assertTrue("incorrect value", aNumber.shortValue() == result);
|
/libcore/luni/src/test/java/libcore/java/text/ |
H A D | NumberFormatTest.java | 39 public short shortValue() { throw new UnsupportedOperationException(); }
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
H A D | Array.java | 491 setShort(array, index, ((Short) value).shortValue());
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | Scanner.java | 1996 short val = ((Short)typeCache).shortValue();
|
H A D | Formatter.java | 2876 print(((Short)arg).shortValue(), l); 2948 short i = ((Short)arg).shortValue();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
H A D | FieldTest.java | 304 f.setShort(o, ((Short) value).shortValue());
|