Class IsConvertibleUsing<T>

    • Constructor Detail

      • IsConvertibleUsing

        public IsConvertibleUsing​(Converter<T,​?> converter)
    • Method Detail

      • getValueClass

        public Class<T> getValueClass()
        Specified by:
        getValueClass in interface Checker<T>
        Returns:
        The class of tested values.
      • explain

        public String explain​(boolean result,
                              String arg)
        Description copied from interface: Checker
        Explains the conditions at which a positive or negative result is obtained.
        Specified by:
        explain in interface Checker<T>
        Parameters:
        result - The result to explain.
        arg - The argument name to use in explanations.
        Returns:
        A string explaining the conditions leading to result.