public interface StringCollector
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.
|
void add(@NotNull java.lang.String str)
str
- string to addvoid add(char ch)
ch
- character to addchar getLastLetter()