de.caff.io

## Interface StringCollector

- All Known Implementing Classes:
    OutputStreamStringCollector, TextStringCollector

      public interface StringCollector

  Collector for strings.
  Author:
    Rammi

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(char ch)` Add a character to this collector.
    `void` | `add(java.lang.String str)` Add a string to this collector.
    `char` | `getLastLetter()` Get the last letter of the last string which was added.

- - ### Method Detail

    - #### add

          void add(@NotNull
                   java.lang.String str)

      Add a string to this collector.
      Parameters:
        `str` - string to add

    - #### add

          void add(char ch)

      Add a character to this collector.
      Parameters:
        `ch` - character to add

    - #### getLastLetter

          char getLastLetter()

      Get the last letter of the last string which was added.
      Returns:
        last letter, zero at the very beginning