org.thymeleaf.util
Class ObjectUtils
Object
org.thymeleaf.util.ObjectUtils
public final class ObjectUtils
- extends Object
- Since:
- 1.0
- Author:
- Daniel Fernández
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nullSafe
public static <T> T nullSafe(T target,
T defaultValue)
evaluateAsBoolean
public static boolean evaluateAsBoolean(Object condition)
evaluateAsNumber
public static BigDecimal evaluateAsNumber(Object object)
convertToList
public static List<Object> convertToList(Object value)
convertToArray
public static Object[] convertToArray(Object value)
Copyright © 2012 The THYMELEAF team. All Rights Reserved.