A word can have protected chars (enclosed in '{' '}') and may be a small (a, an, the, ...) word.
| Modifier and Type | Field and Description |
|---|---|
| private final char[] | |
| public static final Set | |
| public static final Set | |
| private final boolean[] | |
| public static final Set | SMALLER_WORDS
Set containing common lowercase function words |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| private boolean | |
| public boolean | |
| public static boolean | |
| public boolean | |
| public void | |
| public void | |
| public String | |
| public void | |
| public void | |
| public void | |
| public void |
| chars | back to summary |
|---|---|
| private final char[] chars | |
| CONJUNCTIONS | back to summary |
|---|---|
| public static final Set<String> CONJUNCTIONS | |
| DASHES | back to summary |
|---|---|
| public static final Set<Character> DASHES | |
| protectedChars | back to summary |
|---|---|
| private final boolean[] protectedChars | |
| SMALLER_WORDS | back to summary |
|---|---|
| public static final Set<String> SMALLER_WORDS Set containing common lowercase function words | |
| Word | back to summary |
|---|---|
| public Word(char[] chars, boolean[] protectedChars) | |
| endsWithColon | back to summary |
|---|---|
| public boolean endsWithColon() | |
| isConjunction | back to summary |
|---|---|
| private boolean isConjunction(char[] chars, int i) | |
| isLargerWord | back to summary |
|---|---|
| public boolean isLargerWord() | |
| isSmallerWord | back to summary |
|---|---|
| public static boolean isSmallerWord(String word) Case-insensitive check against | |
| isSmallerWord | back to summary |
|---|---|
| public boolean isSmallerWord() | |
| stripConsonants | back to summary |
|---|---|
| public void stripConsonants() | |
| toLowerCase | back to summary |
|---|---|
| public void toLowerCase() Only change letters of the word that are unprotected to lower case. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| toUpperCase | back to summary |
|---|---|
| public void toUpperCase() Only change letters of the word that are unprotected to upper case. | |
| toUpperFirst | back to summary |
|---|---|
| public void toUpperFirst() | |
| toUpperFirstIgnoreHyphen | back to summary |
|---|---|
| public void toUpperFirstIgnoreHyphen() | |
| toUpperFirstTitle | back to summary |
|---|---|
| public void toUpperFirstTitle() | |