public interface Sentence extends CharSequence
| Modifier and Type | Method and Description |
|---|---|
Sentence |
append(char c)
Appends a character to sentence
|
Sentence |
append(CharSequence s)
Appends a character sequence to sentence
|
boolean |
isEmpty()
Checks whether sentence is empty, that is does not contain any characters
|
boolean |
isFinished()
Checks whether sentence is finished by newline character(s)
|
Sentence |
prepend(char c)
Prepends a character to sentence
|
Sentence |
prepend(CharSequence s)
Prepends a character sequence to sentence
|
Sentence |
reset()
Clears the sentence
|
Sentence |
trim()
Removes a newline character(s) from the end of sentence, if any
|
charAt, length, subSequence, toStringSentence prepend(CharSequence s)
s - sequenceSentence prepend(char c)
c - characterSentence append(CharSequence s)
s - sequenceSentence append(char c)
c - characterboolean isFinished()
boolean isEmpty()
Sentence trim()
Sentence reset()
Copyright © 2015 JBoss by Red Hat. All rights reserved.