public final class Coerce
extends Object
-
Method Summary
static boolean
static boolean
static boolean
static byte
static char
static double
static float
static int
static long
static short
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
canCoerce
public static boolean canCoerce(Class cl)
-
canCoerce
public static boolean canCoerce(Object o)
-
toInt
public static int toInt(String s)
-
toLong
public static long toLong(String s)
-
toFloat
public static float toFloat(String s)
-
toDouble
public static double toDouble(String s)
-
toByte
public static byte toByte(String s)
-
toShort
public static short toShort(String s)
-
toBoolean
public static boolean toBoolean(String s)
-
toChar
public static char toChar(String s)
-