Searched refs:shortValue (Results 1 - 21 of 21) sorted by relevance

/libcore/luni/src/main/java/java/lang/
H A DNumber.java82 public short shortValue() { method in class:Number
H A DByte.java222 public short shortValue() { method in class:Byte
H A DShort.java226 public short shortValue() { method in class:Short
H A DDouble.java299 public short shortValue() { method in class:Double
H A DFloat.java304 public short shortValue() { method in class:Float
H A DInteger.java395 public short shortValue() { method in class:Integer
H A DLong.java382 public short shortValue() { method in class:Long
/libcore/support/src/test/java/tests/support/
H A DSupport_GetPutFields.java44 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 DSupport_GetPutFieldsDeprecated.java46 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 DSupport_GetPutFieldsDefaulted.java55 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 DOldIntegerTest.java66 assertEquals(-1, new Integer(Integer.MAX_VALUE).shortValue());
67 assertEquals(0, new Integer(Integer.MIN_VALUE).shortValue());
H A DOldLongTest.java80 assertEquals(-1, new Long(Long.MAX_VALUE).shortValue());
81 assertEquals(0, new Long(Long.MIN_VALUE).shortValue());
/libcore/luni/src/main/java/java/io/
H A DEmulatedFieldsForDumping.java210 output.writeShort(fieldValue != null ? ((Short) fieldValue).shortValue() : 0);
H A DEmulatedFields.java350 return slot.defaulted ? defaultValue : ((Short) slot.fieldValue).shortValue();
H A DObjectOutputStream.java915 output.writeShort(fieldValue != null ? ((Short) fieldValue).shortValue() : 0);
/libcore/luni/src/test/java/libcore/java/text/
H A DNumberFormatTest.java37 public short shortValue() { throw new UnsupportedOperationException(); }
/libcore/support/src/test/java/tests/util/
H A DCallVerificationStack.java279 return value.shortValue();
/libcore/luni/src/test/java/libcore/java/math/
H A DOldBigDecimalConvertTest.java349 assertTrue("incorrect value", aNumber.shortValue() == result);
356 assertTrue("incorrect value", aNumber.shortValue() == result);
/libcore/luni/src/main/java/java/lang/reflect/
H A DArray.java415 setShort(array, index, ((Short) value).shortValue());
/libcore/luni/src/main/java/java/util/
H A DScanner.java1487 short shortValue = 0;
1489 shortValue = Short.parseShort(intString, radix);
1495 return shortValue;
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
H A DFieldTest.java317 f.setShort(o, ((Short) value).shortValue());

Completed in 111 milliseconds