Class Result

    • Constructor Detail

      • Result

        public Result()
    • Method Detail

      • describe

        public String describe()
        A loggable message to describe the comparison result. Default implementation delegates to toString() but this should generally be overridden as toString() is used in a multitude of contexts.
        Returns:
        String
      • describe

        public abstract String describe​(Locale locale)
        An overload of the describe() that allows you to specify what locale to use for the loggable message that describes the comparison result.
        Parameters:
        locale - The locale to use for comparison description.
        Returns:
        String