Package se.krka.kahlua.j2se
Class MathLib
java.lang.Object
se.krka.kahlua.j2se.MathLib
- All Implemented Interfaces:
JavaFunction
public class MathLib extends java.lang.Object implements JavaFunction
-
Constructor Summary
Constructors Constructor Description MathLib(int int1)
-
Method Summary
Modifier and Type Method Description int
call(LuaCallFrame luaCallFrame, int int1)
static boolean
isNegative(double double1)
static void
register(Platform platform, KahluaTable kahluaTable)
static double
round(double double1)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
MathLib
public MathLib(int int1)
-
-
Method Details
-
register
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
call
- Specified by:
call
in interfaceJavaFunction
-
isNegative
public static boolean isNegative(double double1) -
round
public static double round(double double1)
-