Class SearchParameterValueSupport


  • public class SearchParameterValueSupport
    extends java.lang.Object
    Collection of support methods related to SearchParameterValue objects
    • Constructor Detail

      • SearchParameterValueSupport

        public SearchParameterValueSupport()
    • Method Detail

      • compareValue

        public static int compareValue​(java.lang.Integer left,
                                       java.lang.Integer right)
        Compare the two Integer values, taking into account nulls
        Parameters:
        left -
        right -
        Returns:
      • compareValue

        public static int compareValue​(java.lang.Boolean left,
                                       java.lang.Boolean right)
        Compare the two Boolean values, taking into account nulls
        Parameters:
        left -
        right -
        Returns:
      • compareValue

        public static int compareValue​(java.time.Instant left,
                                       java.time.Instant right)
        Compare the two Instant values, taking into account nulls
        Parameters:
        left -
        right -
        Returns:
      • compareValue

        public static int compareValue​(java.math.BigDecimal left,
                                       java.math.BigDecimal right)
        Compare the two BigDecimal values, taking into account nulls
        Parameters:
        left -
        right -
        Returns:
      • compareValue

        public static int compareValue​(java.lang.Double left,
                                       java.lang.Double right)
        Compare the two Double values, taking into account nulls
        Parameters:
        left -
        right -
        Returns:
      • compareValue

        public static int compareValue​(java.lang.String left,
                                       java.lang.String right)
        Compare the two String values taking into account nulls
        Parameters:
        left -
        right -
        Returns:
      • compareSearchParameterValue

        public static int compareSearchParameterValue​(SearchParameterValue left,
                                                      SearchParameterValue right)
        Compare the SearchParameterValue elements, taking into account any null fields each may have
        Parameters:
        left - not null
        right - not null
        Returns: