s.java.lang.Number Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javaee-rt Show documentation
Show all versions of javaee-rt Show documentation
An Execution Environment for Java SCOREs
package s.java.lang;
import i.ConstantToken;
import i.IInstrumentation;
import org.aion.avm.RuntimeMethodFeeSchedule;
import s.java.io.Serializable;
public abstract class Number extends Object implements Serializable {
static {
// Shadow classes MUST be loaded during bootstrap phase.
IInstrumentation.attachedThreadInstrumentation.get().bootstrapOnly();
}
public Number(java.lang.Void ignore, int readIndex) {
super(ignore, readIndex);
}
protected Number(ConstantToken constantToken) {
super(constantToken);
}
public Number(){};
public abstract int avm_intValue();
public abstract long avm_longValue();
public abstract float avm_floatValue();
public abstract double avm_doubleValue();
public byte avm_byteValue() {
IInstrumentation.attachedThreadInstrumentation.get().chargeEnergy(RuntimeMethodFeeSchedule.Number_avm_byteValue);
return (byte)avm_intValue();
}
public short avm_shortValue() {
IInstrumentation.attachedThreadInstrumentation.get().chargeEnergy(RuntimeMethodFeeSchedule.Number_avm_shortValue);
return (short)avm_intValue();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy