Clazz.load (["java.lang.Comparable", "java.io.Serializable"], "java.lang.Boolean", null, function () {
java.lang.B00lean = Boolean;
java.lang.Boolean = Boolean = function () {
	Clazz.instantialize (this, arguments);
};
if (Clazz.supportsNativeObject) {
	for (var i = 0; i < Clazz.extendedObjectMethods.length; i++) {
		var p = Clazz.extendedObjectMethods[i];
		Boolean.prototype[p] = JavaObject.prototype[p];
	}
}
Boolean.__CLASS_NAME__ = "Boolean";
Clazz.implementOf (Boolean, [java.io.Serializable, java.lang.Comparable]);
Boolean.equals = Clazz.innerFunctions.equals;
Boolean.getName = Clazz.innerFunctions.getName;
Boolean.serialVersionUID = Boolean.prototype.serialVersionUID = -3665804199014368530;
/*
Clazz.makeConstructor (Boolean, 
function (value) {
this.valueOf = function () {
	return value;
};
}, "~B");
Clazz.makeConstructor (Boolean, 
function (s) {
this.valueOf = function () {
	return Boolean.toBoolean (s);
};
}, "~S");
// */
Clazz.makeConstructor (Boolean, 
function (s) {
var v = false;
if (arguments.length > 0) {
	v = s;
	if (typeof s == "string") {
		v = Boolean.toBoolean (s);
	}
}
this.valueOf = function () {
	return !(!v);
};
}, "Object");
Boolean.parseBoolean = Clazz.defineMethod (Boolean, "parseBoolean", 
function (s) {
return Boolean.toBoolean (s);
}, "~S");
Clazz.defineMethod (Boolean, "booleanValue", 
function () {
return this.valueOf ();
});
/*
Boolean.$valueOf = Clazz.defineMethod (Boolean, "$valueOf", 
function (b) {
return (b ? Boolean.TRUE : Boolean.FALSE);
}, "~B");
Boolean.$valueOf = Clazz.defineMethod (Boolean, "$valueOf", 
function (s) {
return Boolean.toBoolean (s) ? Boolean.TRUE : Boolean.FALSE;
}, "~S");
// */
Boolean.$valueOf = Boolean.prototype.$valueOf = function (s) {
	if (typeof s == "string") { // String
		return Boolean.toBoolean (s) ? Boolean.TRUE : Boolean.FALSE;
	} else {
		return (s ? Boolean.TRUE : Boolean.FALSE);
	}
};
Boolean.toString = Clazz.overrideMethod (Boolean, "toString", 
function (b) {
return b ? "true" : "false";
}, "~B");
Clazz.defineMethod (Boolean, "toString", 
function () {
return this.valueOf () ? "true" : "false";
});
Clazz.overrideMethod (Boolean, "hashCode", 
function () {
return this.valueOf () ? 1231 : 1237;
});
Clazz.overrideMethod (Boolean, "equals", 
function (obj) {
if (Clazz.instanceOf (obj, Boolean)) {
return this.valueOf () == (obj).booleanValue ();
}return false;
}, "~O");
Boolean.getBoolean = Clazz.defineMethod (Boolean, "getBoolean", 
function (name) {
var result = false;
try {
result = Boolean.toBoolean (System.getProperty (name));
} catch (e) {
if (Clazz.instanceOf (e, IllegalArgumentException)) {
} else if (Clazz.instanceOf (e, NullPointerException)) {
} else {
throw e;
}
}
return result;
}, "~S");
Clazz.overrideMethod (Boolean, "compareTo", 
function (b) {
return (b.value == this.valueOf () ? 0 : (this.valueOf () ? 1 : -1));
}, "Boolean");
Boolean.toBoolean = Clazz.defineMethod (Boolean, "toBoolean", 
($fz = function (name) {
return ((name != null) && name.equalsIgnoreCase ("true"));
}, $fz.isPrivate = true, $fz), "~S");
Boolean.TRUE = Boolean.prototype.TRUE = new Boolean (true);
Boolean.FALSE = Boolean.prototype.FALSE = new Boolean (false);
Boolean.TYPE = Boolean.prototype.TYPE = Boolean;
});
