Interface AppendTo

All Known Implementing Classes:
AppendTo.OfString
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AppendTo
  • Method Details

    • appendTo

      void appendTo(Appender consumer)
    • length

      default int length()
      Returns:
      if known, the length of the appended string, otherwise -1.
    • toString

      static String toString(AppendTo value)
    • of

      static AppendTo.OfString of(String s)