public final class ObjectUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Object[] |
convertToArray(Object value)
Deprecated.
since 2.1, you should use the
IStandardConversionService implementation
corresponding to the dialect you are using or the methods in
EvaluationUtils .
Will be removed in 3.0. |
static List<Object> |
convertToIterable(Object value)
Deprecated.
since 2.1, you should use the
IStandardConversionService implementation
corresponding to the dialect you are using or the methods in
EvaluationUtils .
Will be removed in 3.0. |
static List<Object> |
convertToList(Object value)
Deprecated.
since 2.1, you should use the
IStandardConversionService implementation
corresponding to the dialect you are using or the methods in
EvaluationUtils .
Will be removed in 3.0. |
static boolean |
evaluateAsBoolean(Object condition)
Deprecated.
since 2.1, you should use the
IStandardConversionService implementation
corresponding to the dialect you are using or the methods in
EvaluationUtils .
Will be removed in 3.0. |
static BigDecimal |
evaluateAsNumber(Object object)
Deprecated.
since 2.1, you should use the
IStandardConversionService implementation
corresponding to the dialect you are using or the methods in
EvaluationUtils .
Will be removed in 3.0. |
static <T> T |
nullSafe(T target,
T defaultValue) |
public static <T> T nullSafe(T target, T defaultValue)
@Deprecated public static boolean evaluateAsBoolean(Object condition)
IStandardConversionService
implementation
corresponding to the dialect you are using or the methods in
EvaluationUtils
.
Will be removed in 3.0.condition
- condition@Deprecated public static BigDecimal evaluateAsNumber(Object object)
IStandardConversionService
implementation
corresponding to the dialect you are using or the methods in
EvaluationUtils
.
Will be removed in 3.0.object
- object@Deprecated public static List<Object> convertToIterable(Object value)
IStandardConversionService
implementation
corresponding to the dialect you are using or the methods in
EvaluationUtils
.
Will be removed in 3.0.value
- value@Deprecated public static List<Object> convertToList(Object value)
IStandardConversionService
implementation
corresponding to the dialect you are using or the methods in
EvaluationUtils
.
Will be removed in 3.0.value
- value@Deprecated public static Object[] convertToArray(Object value)
IStandardConversionService
implementation
corresponding to the dialect you are using or the methods in
EvaluationUtils
.
Will be removed in 3.0.value
- valueCopyright © 2015 The THYMELEAF team. All rights reserved.