public class ELSupport extends Object
Constructor and Description |
---|
ELSupport() |
Modifier and Type | Method and Description |
---|---|
static void |
checkType(Object obj,
Class type) |
static Boolean |
coerceToBoolean(Object obj) |
static Character |
coerceToCharacter(Object obj) |
static Enum |
coerceToEnum(Object obj,
Class type) |
protected static Number |
coerceToNumber(Number number,
Class type) |
static Number |
coerceToNumber(Object obj) |
static Number |
coerceToNumber(Object obj,
Class type) |
protected static Number |
coerceToNumber(String val,
Class type) |
static String |
coerceToString(Object obj) |
static Object |
coerceToType(Object obj,
Class type) |
static int |
compare(Object obj0,
Object obj1) |
static boolean |
containsNulls(Object[] obj) |
static boolean |
equals(Object obj0,
Object obj1) |
static boolean |
isBigDecimalOp(Object obj0,
Object obj1) |
static boolean |
isBigIntegerOp(Object obj0,
Object obj1) |
static boolean |
isDoubleOp(Object obj0,
Object obj1) |
static boolean |
isDoubleStringOp(Object obj0,
Object obj1) |
static boolean |
isLongOp(Object obj0,
Object obj1) |
static boolean |
isStringFloat(String str) |
static void |
throwUnhandled(Object base,
Object property) |
static Number |
toFloat(String value) |
static Number |
toNumber(String value) |
public static final void throwUnhandled(Object base, Object property) throws javax.el.ELException
javax.el.ELException
public static final int compare(Object obj0, Object obj1) throws javax.el.ELException
obj0
- obj1
- EvaluationException
javax.el.ELException
public static final boolean equals(Object obj0, Object obj1) throws javax.el.ELException
obj0
- obj1
- EvaluationException
javax.el.ELException
public static final Boolean coerceToBoolean(Object obj) throws IllegalArgumentException
obj
- IllegalArgumentException
public static final Character coerceToCharacter(Object obj) throws IllegalArgumentException
IllegalArgumentException
protected static final Number coerceToNumber(Number number, Class type) throws IllegalArgumentException
IllegalArgumentException
public static final Number coerceToNumber(Object obj, Class type) throws IllegalArgumentException
IllegalArgumentException
protected static final Number coerceToNumber(String val, Class type) throws IllegalArgumentException
IllegalArgumentException
public static final void checkType(Object obj, Class type) throws IllegalArgumentException
IllegalArgumentException
public static final Object coerceToType(Object obj, Class type) throws IllegalArgumentException
IllegalArgumentException
public static final boolean containsNulls(Object[] obj)
obj
- public static final boolean isStringFloat(String str)
Copyright © 2006–2018 TinyGroup. All rights reserved.