Package se.krka.kahlua.stdlib
Class StringLib
java.lang.Object
se.krka.kahlua.stdlib.StringLib
- All Implemented Interfaces:
JavaFunction
public final class StringLib extends java.lang.Object implements JavaFunction
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStringLib.MatchStatestatic classStringLib.StringPointer -
Constructor Summary
Constructors Constructor Description StringLib(int int1) -
Method Summary
Modifier and Type Method Description intcall(LuaCallFrame luaCallFrame, int int1)static voidregister(Platform platform, KahluaTable kahluaTable)static doubleroundToPrecision(double double1, int int1)static doubleroundToSignificantNumbers(double double1, int int1)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
StringLib
public StringLib(int int1)
-
-
Method Details
-
register
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
call
- Specified by:
callin interfaceJavaFunction
-
roundToPrecision
public static double roundToPrecision(double double1, int int1) -
roundToSignificantNumbers
public static double roundToSignificantNumbers(double double1, int int1)
-