Class ComparisonFunctions


  • public class ComparisonFunctions
    extends Object
    Comparison built-in functions.
    • Constructor Detail

      • ComparisonFunctions

        public ComparisonFunctions()
    • Method Detail

      • valueEquals

        public static boolean valueEquals​(Object object1,
                                          Object object2)
      • isDistinctFrom

        public static boolean isDistinctFrom​(Object object1,
                                             Object object2)
      • isNotDistinctFrom

        public static boolean isNotDistinctFrom​(Object object1,
                                                Object object2)
      • greaterThan

        public static boolean greaterThan​(Object lhs,
                                          Object rhs)
      • greaterThanOrEqual

        public static boolean greaterThanOrEqual​(Object lhs,
                                                 Object rhs)
      • lessThan

        public static boolean lessThan​(Object lhs,
                                       Object rhs)
      • lessThanOrEqual

        public static boolean lessThanOrEqual​(Object lhs,
                                              Object rhs)
      • betweenAsymmetric

        public static boolean betweenAsymmetric​(String value,
                                                String minValue,
                                                String maxValue)
      • betweenAsymmetric

        public static boolean betweenAsymmetric​(Byte value,
                                                byte minValue,
                                                byte maxValue)
      • betweenAsymmetric

        public static boolean betweenAsymmetric​(Short value,
                                                short minValue,
                                                short maxValue)
      • betweenAsymmetric

        public static boolean betweenAsymmetric​(Integer value,
                                                int minValue,
                                                int maxValue)
      • betweenAsymmetric

        public static boolean betweenAsymmetric​(Long value,
                                                long minValue,
                                                long maxValue)
      • betweenAsymmetric

        public static boolean betweenAsymmetric​(Float value,
                                                float minValue,
                                                float maxValue)
      • betweenAsymmetric

        public static boolean betweenAsymmetric​(Double value,
                                                double minValue,
                                                double maxValue)
      • notBetweenAsymmetric

        public static boolean notBetweenAsymmetric​(String value,
                                                   String minValue,
                                                   String maxValue)
      • notBetweenAsymmetric

        public static boolean notBetweenAsymmetric​(Byte value,
                                                   byte minValue,
                                                   byte maxValue)
      • notBetweenAsymmetric

        public static boolean notBetweenAsymmetric​(Short value,
                                                   short minValue,
                                                   short maxValue)
      • notBetweenAsymmetric

        public static boolean notBetweenAsymmetric​(Integer value,
                                                   int minValue,
                                                   int maxValue)
      • notBetweenAsymmetric

        public static boolean notBetweenAsymmetric​(Long value,
                                                   long minValue,
                                                   long maxValue)
      • notBetweenAsymmetric

        public static boolean notBetweenAsymmetric​(Float value,
                                                   float minValue,
                                                   float maxValue)
      • notBetweenAsymmetric

        public static boolean notBetweenAsymmetric​(Double value,
                                                   double minValue,
                                                   double maxValue)
      • in

        public static boolean in​(String value,
                                 String... str)
      • in

        public static boolean in​(Byte value,
                                 Byte... values)
      • in

        public static boolean in​(Short value,
                                 Short... values)
      • in

        public static boolean in​(Integer value,
                                 Integer... values)
      • in

        public static boolean in​(Long value,
                                 Long... values)
      • in

        public static boolean in​(Float value,
                                 Float... values)
      • in

        public static boolean in​(Double value,
                                 Double... values)
      • notIn

        public static boolean notIn​(String value,
                                    String... values)
      • notIn

        public static boolean notIn​(Byte value,
                                    Byte... values)
      • notIn

        public static boolean notIn​(Short value,
                                    Short... values)
      • notIn

        public static boolean notIn​(Integer value,
                                    Integer... values)
      • notIn

        public static boolean notIn​(Long value,
                                    Long... values)
      • notIn

        public static boolean notIn​(Float value,
                                    Float... values)
      • notIn

        public static boolean notIn​(Double value,
                                    Double... values)