public class RuntimeUtility extends Object
#registerFunctions(MethodRegistry) and that function registers the methods
in this class with their own name so that BASIC programs can call the
functions like BASIC built in functions.| Modifier and Type | Method and Description |
|---|---|
static double |
acos(double x) |
static double |
asin(double x) |
static double |
atan(double x) |
static double |
atan2(double x,
double y) |
static double |
cbrt(double x) |
static double |
ceil(double x) |
static double |
cos(double x) |
static double |
cosh(double x) |
static double |
floor(double x) |
static double |
hypot(double x) |
static double |
log(double x) |
static double |
log10(double x) |
static Object |
newObject(String klass)
This method can be used to call the default constructor of a class.
|
static Object |
nullFunction() |
static double |
pow(double x) |
static double |
round(double x) |
static double |
tan(double x) |
static double |
tanh(double x) |
public static Object newObject(String klass) throws ClassNotFoundException, InstantiationException, IllegalAccessException
klass - the class to instantiateClassNotFoundExceptionInstantiationExceptionIllegalAccessExceptionpublic static double acos(double x)
public static double asin(double x)
public static double atan(double x)
public static double atan2(double x,
double y)
public static double cbrt(double x)
public static double ceil(double x)
public static double cos(double x)
public static double cosh(double x)
public static double floor(double x)
public static double hypot(double x)
public static double log(double x)
public static double log10(double x)
public static double pow(double x)
public static double round(double x)
public static double tan(double x)
public static double tanh(double x)
public static Object nullFunction()
Copyright © 2012 Verhas and Verhas Software Craftsmen. All Rights Reserved.