34353637383940
public CoopObject mod(CoopObject other) { return new Float(this.value % ((Float) other).value); } public CoopObject toString$() { return new JavaObject(java.lang.Double.toString(value)); }
35363738394041
public CoopObject mod(CoopObject other) { return new Integer(this.value % ((Integer) other).value); } public CoopObject toString$() { return new JavaObject(java.lang.Integer.toString(value)); }
21222324252627
public boolean toBoolean(){ return this.value; } public CoopObject toString$() { return new JavaObject(java.lang.Boolean.toString(value)); }
891011121314
public static final CoopObject NULL = new Null(); private Null() {}; public CoopObject toString$() { return new JavaObject("null"); }
3031323334353637383940
try { Object obj = java.lang.Class.forName(name.toString()).newInstance(); if (obj instanceof CoopObject) { return (CoopObject) obj; } else { // For Java integration return new JavaObject(obj); } } catch (Exception e) { throw new Error(e); } }
38394041424344
throw new Error(e); } } public CoopObject toString$() { return new JavaObject("class " + name); }