Searched refs:Short (Results 1 - 25 of 278) sorted by relevance

1234567891011>>

/openjdk7/langtools/test/tools/javac/boxing/
H A DNoBoxingShort.java33 Short s = 0;
H A DT6816548.java42 Short s = fi;
49 Short s = fs;
56 Short s = fb;
63 Short s = fc;
/openjdk7/langtools/test/tools/javac/synthesize/
H A DShort.java26 public class Short extends Number class in inherits:Number
28 public static Short valueOf(short v) {
29 return new Short(v);
32 public Short(short v) { method in class:Short
/openjdk7/jdk/test/java/beans/PropertyEditor/
H A DTestShortClassJava.java27 * @summary Tests PropertyEditor for value of type Short
33 new TestEditor(Short.class).testJava(Short.valueOf((short) 12));
H A DTestShortTypeJava.java33 new TestEditor(Short.TYPE).testJava(Short.valueOf((short) 12));
H A DTestShortClassNull.java27 * @summary Tests PropertyEditor for null value of type Short
33 new TestEditor(Short.class).testJava(null);
H A DTestShortClass.java27 * @summary Tests PropertyEditor for value of type Short with security manager
34 new TestEditor(Short.class);
H A DTestShortType.java34 new TestEditor(Short.TYPE);
H A DTestShortTypeNull.java33 new TestEditor(Short.TYPE).testJava(null);
H A DTestShortClassValue.java27 * @summary Tests PropertyEditor for value of type Short
33 TestEditor test = new TestEditor(Short.class);
/openjdk7/langtools/test/tools/javac/6979683/
H A DTestCast6979683_BAD37.java37 static int iconvBAD3(Comparable<Short> o) { return (int)o; } //BAD: wrong instance
/openjdk7/jdk/test/java/lang/Short/
H A DDecode.java27 * @summary Test Short.decode method
33 * There are six methods in java.lang.Short which transform strings
34 * into a short or Short value:
36 * public Short(String s)
37 * public static Short decode(String nm)
40 * public static Short valueOf(String s, int radix)
41 * public static Short valueOf(String s)
49 short sh = (Short.decode(ashort)).shortValue();
51 throw new RuntimeException("Short.decode failed. String:" +
57 short n = (Short
[all...]
H A DByteSwap.java33 if (Short.reverseBytes((short)0xaabb) != (short)0xbbaa)
/openjdk7/jdk/src/share/classes/java/lang/
H A DShort.java29 * The {@code Short} class wraps a value of primitive type {@code
30 * short} in an object. An object of type {@code Short} contains a
43 public final class Short extends Number implements Comparable<Short> { class in inherits:Number,Comparable
61 public static final Class<Short> TYPE = (Class<Short>) Class.getPrimitiveClass("short");
147 * Returns a {@code Short} object holding the value
153 * int)} method. The result is a {@code Short} object that
156 * <p>In other words, this method returns a {@code Short} object
160 * {@code new Short(Shor
302 public Short(short value) { method in class:Short
319 public Short(String s) throws NumberFormatException { method in class:Short
[all...]
/openjdk7/jdk/src/share/classes/com/sun/beans/decoder/
H A DShortElementHandler.java30 * The class {@link Short} is used as wrapper for these values.
36 * &lt;method name="decode" class="java.lang.Short"&gt;
39 * which is equivalent to {@code Short.decode("200")} in Java code.
61 return Short.decode(argument);
/openjdk7/langtools/test/tools/javac/generics/typevars/4856983/
H A DT4856983.java41 B<Short,Short> b;
/openjdk7/jdk/test/java/beans/XMLDecoder/spec/
H A DTestShort.java51 validate(Short.MAX_VALUE, decoder.readObject());
52 validate(Short.MIN_VALUE, decoder.readObject());
56 if (!object.equals(Short.valueOf(value))) {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/
H A DPrimitiveArrayListerShort.java38 final class PrimitiveArrayListerShort<BeanT> extends Lister<BeanT,short[],Short,PrimitiveArrayListerShort.ShortArrayPack> {
44 Lister.primitiveArrayListers.put(Short.TYPE,new PrimitiveArrayListerShort());
47 public ListIterator<Short> iterator(final short[] objects, XMLSerializer context) {
48 return new ListIterator<Short>() {
54 public Short next() {
64 public void addToPack(ShortArrayPack objects, Short o) {
80 void add(Short b) {
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/
H A DMachineDescriptionTwosComplement.java35 Short.MIN_VALUE,
43 Short.MAX_VALUE,
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/opt/
H A DFieldAccessor_Short.java40 super(Short.class);
48 ((Bean)bean).f_short = value==null ? Const.default_value_short : (Short)value;
H A DMethodAccessor_Short.java40 super(Short.class);
48 ((Bean)bean).set_short( value==null ? Const.default_value_short : (Short)value );
/openjdk7/jdk/test/java/nio/Buffer/
H A DgenBasic.sh34 gen short Short Short
H A DgenCopyDirectMemory.sh34 gen short Short Short
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/jcore/
H A DClassWriter.java124 utf8ToIndex.put(sym.asString(), new Short((short) ci));
135 Short sourceFileIndex = (Short) utf8ToIndex.get("SourceFile");
139 Short innerClassesIndex = (Short) utf8ToIndex.get("InnerClasses");
144 Short constantValueIndex = (Short) utf8ToIndex.get("ConstantValue");
149 Short syntheticIndex = (Short) utf8ToIndex.get("Synthetic");
153 Short deprecatedInde
[all...]
/openjdk7/jdk/src/share/classes/com/sun/beans/editors/
H A DShortEditor.java46 setValue((text == null) ? null : Short.decode(text));

Completed in 124 milliseconds

1234567891011>>