/**@class java.lang.Short implements java.lang.Comparable @extends java.lang.Number The wrapper for the primitive type {@code short}. @see java.lang.Number @since 1.1 */ var Short = { /** Constant for the maximum {@code short} value, 2<sup>15</sup>-1. */ MAX_VALUE : "32767", /** Constant for the minimum {@code short} value, -2<sup>15</sup>. */ MIN_VALUE : "-32768", /** Constant for the number of bits needed to represent a {@code short} in two's complement form. @since 1.5 */ SIZE : "16", /** The {@link java.lang.Class} object that represents the primitive type {@code short}. */ TYPE : "null", /** */ byteValue : function( ) {}, /**Compares this object to the specified short object to determine their relative order. @param {Number} object the short object to compare this object to. @return {Number} a negative value if the value of this short is less than the value of {@code object}; 0 if the value of this short and the value of {@code object} are equal; a positive value if the value of this short is greater than the value of {@code object}. @throws NullPointerException if {@code object} is null. @see java.lang.Comparable @since 1.2 */ compareTo : function( ) {}, /**Compares two {@code short} values. @return {Number} 0 if lhs = rhs, less than 0 if lhs < rhs, and greater than 0 if lhs > rhs. @since 1.7 */ compare : function( ) {}, /**Parses the specified string and returns a {@code Short} instance if the string can be decoded into a short value. The string may be an optional minus sign "-" followed by a hexadecimal ("0x..." or "#..."), octal ("0..."), or decimal ("...") representation of a short. @param {String} string a string representation of a short value. @return {Number} a {@code Short} containing the value represented by {@code string}. @throws NumberFormatException if {@code string} cannot be parsed as a short value. */ decode : function( ) {}, /** */ doubleValue : function( ) {}, /**Compares this instance with the specified object and indicates if they are equal. In order to be equal, {@code object} must be an instance of {@code Short} and have the same short value as this object. @param {Object {Object}} object the object to compare this short with. @return {Boolean} {@code true} if the specified object is equal to this {@code Short}; {@code false} otherwise. */ equals : function( ) {}, /** */ floatValue : function( ) {}, /** */ hashCode : function( ) {}, /** */ intValue : function( ) {}, /** */ longValue : function( ) {}, /**Parses the specified string as a signed decimal short value. The ASCII character - ('-') is recognized as the minus sign. @param {String} string the string representation of a short value. @return {Number} the primitive short value represented by {@code string}. @throws NumberFormatException if {@code string} cannot be parsed as a short value. */ parseShort : function( ) {}, /**Parses the specified string as a signed short value using the specified radix. The ASCII character - ('-') is recognized as the minus sign. @param {String} string the string representation of a short value. @param {Number} radix the radix to use when parsing. @return {Number} the primitive short value represented by {@code string} using {@code radix}. @throws NumberFormatException if {@code string} cannot be parsed as a short value, or {@code radix < Character.MIN_RADIX || radix > Character.MAX_RADIX}. */ parseShort : function( ) {}, /**Gets the primitive value of this short. @return {Number} this object's primitive value. */ shortValue : function( ) {}, /** */ toString : function( ) {}, /**Returns a string containing a concise, human-readable description of the specified short value with radix 10. @param {Number} value the short to convert to a string. @return {String} a printable representation of {@code value}. */ toString : function( ) {}, /**Parses the specified string as a signed decimal short value. @param {String} string the string representation of a short value. @return {Number} a {@code Short} instance containing the short value represented by {@code string}. @throws NumberFormatException if {@code string} cannot be parsed as a short value. @see #parseShort(String) */ valueOf : function( ) {}, /**Parses the specified string as a signed short value using the specified radix. @param {String} string the string representation of a short value. @param {Number} radix the radix to use when parsing. @return {Number} a {@code Short} instance containing the short value represented by {@code string} using {@code radix}. @throws NumberFormatException if {@code string} cannot be parsed as a short value, or {@code radix < Character.MIN_RADIX || radix > Character.MAX_RADIX}. @see #parseShort(String, int) */ valueOf : function( ) {}, /**Reverses the bytes of the specified short. @param {Number} s the short value for which to reverse bytes. @return {Number} the reversed value. @since 1.5 */ reverseBytes : function( ) {}, /**Returns a {@code Short} instance for the specified short value. <p> If it is not necessary to get a new {@code Short} instance, it is recommended to use this method instead of the constructor, since it maintains a cache of instances which may result in better performance. @param {Number} s the short value to store in the instance. @return {Number} a {@code Short} instance containing {@code s}. @since 1.5 */ valueOf : function( ) {}, };