Interface Formattable


public interface Formattable
A type that formats itself, standing in for java.util.Formattable.

Replaced rather than supplied, because its one method takes a formatter and the formatter is Formatter here.

Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    formatTo(Formatter formatter, int flags, int width, int precision)
    Writes this into a formatter.
  • Method Details

    • formatTo

      void formatTo(Formatter formatter, int flags, int width, int precision)
      Writes this into a formatter.
      Parameters:
      formatter - where to write
      flags - the flags the specifier carried, from FormattableFlags
      width - the width the specifier carried, or -1 for none
      precision - the precision the specifier carried, or -1 for none