/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This source file is part of SableVM classlib-stubs. * * * * See the file "LICENSE" for the copyright information and for * * the terms and conditions for copying, distribution and * * modification of this source file. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ package java.lang; public final class Short extends Number implements Comparable { public static final short MIN_VALUE = -32768; public static final short MAX_VALUE = 32767; public static final Class TYPE = short.class; public static final int SIZE = 16; public Short(short value) { } public Short(String s) throws NumberFormatException { } native public static String toString(short s); native public static short parseShort(String s) throws NumberFormatException; native public static short parseShort(String s, int radix) throws NumberFormatException; native public static Short valueOf(String s, int radix) throws NumberFormatException; native public static Short valueOf(String s) throws NumberFormatException; native public static Short valueOf(short s); native public static Short decode(String nm) throws NumberFormatException; native public byte byteValue(); native public short shortValue(); native public int intValue(); native public long longValue(); native public float floatValue(); native public double doubleValue(); native public String toString(); native public int hashCode(); native public boolean equals(Object obj); native public int compareTo(Short anotherShort); native public static short reverseBytes(short i); }