public class Conversions
extends Object
Numeric conversions from section 7 of the ECMAScript 6 standard.
-
Constructor Summary
Constructors
-
Method Summary
static int
static int
static int
static int
static long
static int
static int
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Conversions
public Conversions()
-
Method Details
-
toInt8
public static int toInt8(Object arg)
-
toUint8
public static int toUint8(Object arg)
-
toUint8Clamp
public static int toUint8Clamp(Object arg)
-
toInt16
public static int toInt16(Object arg)
-
toUint16
public static int toUint16(Object arg)
-
toInt32
public static int toInt32(Object arg)
-
toUint32
public static long toUint32(Object arg)