/**@class java.lang.Boolean implements java.io.Serializable implements java.lang.Comparable @extends java.lang.Object The wrapper for the primitive type {@code boolean}. @since 1.0 */ var Boolean = { /** The {@link java.lang.Class} object that represents the primitive type {@code boolean}. */ TYPE : "null", /** The {@code Boolean} object that represents the primitive value {@code true}. */ TRUE : "null", /** The {@code Boolean} object that represents the primitive value {@code false}. */ FALSE : "null", /**Gets the primitive value of this boolean, either {@code true} or {@code false}. @return {Boolean} this object's primitive value, {@code true} or {@code false}. */ booleanValue : function( ) {}, /**Compares this instance with the specified object and indicates if they are equal. In order to be equal, {@code o} must be an instance of {@code Boolean} and have the same boolean value as this object. @param {Object {Object}} o the object to compare this boolean with. @return {Boolean} {@code true} if the specified object is equal to this {@code Boolean}; {@code false} otherwise. */ equals : function( ) {}, /**Compares this object to the specified boolean object to determine their relative order. @param {Boolean} that the boolean object to compare this object to. @return {Number} 0 if the value of this boolean and the value of {@code that} are equal; a positive value if the value of this boolean is {@code true} and the value of {@code that} is {@code false}; a negative value if the value if this boolean is {@code false} and the value of {@code that} is {@code true}. @see java.lang.Comparable @since 1.5 */ compareTo : function( ) {}, /**Compares two {@code boolean} values. @return {Number} 0 if lhs = rhs, less than 0 if lhs < rhs, and greater than 0 if lhs > rhs. (Where true > false.) @since 1.7 */ compare : function( ) {}, /**Returns an integer hash code for this boolean. @return {Number} this boolean's hash code, which is {@code 1231} for {@code true} values and {@code 1237} for {@code false} values. */ hashCode : function( ) {}, /**Returns a string containing a concise, human-readable description of this boolean. @return {String} "true" if the value of this boolean is {@code true}, "false" otherwise. */ toString : function( ) {}, /**Returns the {@code boolean} value of the system property identified by {@code string}. @param {String} string the name of the requested system property. @return {Boolean} {@code true} if the system property named by {@code string} exists and it is equal to "true" using case insensitive comparison, {@code false} otherwise. @see System#getProperty(String) */ getBoolean : function( ) {}, /**Parses the specified string as a {@code boolean}. @param {String} s the string representation of a boolean value. @return {Boolean} {@code true} if {@code s} is not {@code null} and is equal to {@code "true"} using case insensitive comparison, {@code false} otherwise. @since 1.5 */ parseBoolean : function( ) {}, /**Converts the specified boolean to its string representation. @param {Boolean} value the boolean to convert. @return {String} "true" if {@code value} is {@code true}, "false" otherwise. */ toString : function( ) {}, /**Parses the specified string as a boolean value. @param {String} string the string representation of a boolean value. @return {Boolean} {@code Boolean.TRUE} if {@code string} is equal to "true" using case insensitive comparison, {@code Boolean.FALSE} otherwise. @see #parseBoolean(String) */ valueOf : function( ) {}, /**Returns a {@code Boolean} instance for the specified boolean value. <p> If it is not necessary to get a new {@code Boolean} instance, it is recommended to use this method instead of the constructor, since it returns its static instances, which results in better performance. @param {Boolean} b the boolean to convert to a {@code Boolean}. @return {Boolean} {@code Boolean.TRUE} if {@code b} is equal to {@code true}, {@code Boolean.FALSE} otherwise. */ valueOf : function( ) {}, };