public class EvalUtils extends Object
| Constructor and Description |
|---|
EvalUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
castToBoolean(Object o) |
static double |
castToDouble(Object o) |
static long |
castToLong(Object o) |
static Number |
castToNumber(Object o) |
static String |
castToString(Object o) |
static boolean |
isBig(Number o) |
static boolean |
isBoolean(Object o) |
static boolean |
isFloat(Number o) |
static boolean |
isNumber(Object o) |
static boolean |
isOrdinal(Number o) |
static Number[] |
promoteNumbers(Number a,
Number b) |
public static boolean castToBoolean(Object o)
public static double castToDouble(Object o)
public static boolean isFloat(Number o)
public static boolean isOrdinal(Number o)
public static boolean isNumber(Object o)
public static long castToLong(Object o)
public static boolean isBoolean(Object o)
public static boolean isBig(Number o)
Copyright © 2022 vpc open source initiative. All rights reserved.