Interface ToStringFormat.Formatter

  • Enclosing class:
    ToStringFormat

    public static interface ToStringFormat.Formatter
    Formatter for ToStringFormat.

    Implementations of this interface must have a public no-arg constructor.

    • Method Detail

      • format

        String format​(Object val)
        Converts field value to string.
        Parameters:
        val - Field value (can be null.
        Returns:
        Value as string.