
jjst.jjst.lang.Long.js Maven / Gradle / Ivy
The newest version!
jjst.defineClass({
name: "java.lang.Long",
instanceMethods: {
"": function(num){
if (num == undefined)
this.num = 0;
else
this.num = num;
},
"longValue": function(){
if (typeof(this.num) == "undefined")
return this;
else
return this.num;
}
},
classMethods: {
"valueOf": function(str){
return +str;
}
},
baseType: "java.lang.Object"
});
© 2015 - 2025 Weber Informatics LLC | Privacy Policy