Clazz.load (["java.io.Serializable"], "java.lang.Number", null, function () {
java.lang.Number = Number;
if (Clazz.supportsNativeObject) {
	for (var i = 0; i < Clazz.extendedObjectMethods.length; i++) {
		var p = Clazz.extendedObjectMethods[i];
		Number.prototype[p] = JavaObject.prototype[p];
	}
}
//Clazz.decorateAsType (Number, "Number", null, java.io.Serializable, null, true);
Number.__CLASS_NAME__ = "Number";
Clazz.implementOf (Number, java.io.Serializable);
Number.equals = Clazz.innerFunctions.equals;
Number.getName = Clazz.innerFunctions.getName;

Number.serialVersionUID = Number.prototype.serialVersionUID = -8742448824652078965;

$_M(Number, "shortValue", 
function () {
return Math.round (this) & 0xffff;
});

$_M(Number, "byteValue", 
function () {
return Math.round (this) & 0xff;
});

$_M(Number, "intValue", 
function () {
return Math.round (this) & 0xffffffff;
});

$_M(Number, "longValue", 
function () {
return Math.round (this);
});

$_M(Number, "floatValue", 
function () {
return this.valueOf();
});

$_M(Number, "doubleValue", 
function () {
return this.valueOf();
});

$_V (Number, "hashCode", 
function () {
return this.valueOf ();
});
});
