Class ObjectUtils


  • public final class ObjectUtils
    extends Object
    Since:
    1.0
    Author:
    Daniel Fernández
    • Method Detail

      • nullSafe

        public static <T> T nullSafe(T target,
                                     T defaultValue)
      • evaluateAsBoolean

        @Deprecated
        public 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.
        Parameters:
        condition - condition
        Returns:
        the result