protected static class CommonBreakIterator.CamelCaseIdentifier extends CommonBreakIterator.Run
length
Modifier | Constructor and Description |
---|---|
protected |
CommonBreakIterator.CamelCaseIdentifier() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
consume(char ch)
Returns
true if this run consumes ch , false otherwise. |
protected int |
getKind(char ch)
Determines the kind of a character.
|
protected void |
init()
Resets this run to the initial state.
|
protected boolean |
isValid(char ch)
Whether this run accepts that character; does not update state.
|
protected CommonBreakIterator.CamelCaseIdentifier()
protected void init()
CommonBreakIterator.Run
init
in class CommonBreakIterator.Run
protected boolean consume(char ch)
CommonBreakIterator.Run
true
if this run consumes ch
, false
otherwise. If
true
is returned, the length of the receiver is adjusted accordingly.consume
in class CommonBreakIterator.Run
ch
- the character to testtrue
if ch
was consumedprotected int getKind(char ch)
ch
- the character to testprotected boolean isValid(char ch)
CommonBreakIterator.Run
consume
.isValid
in class CommonBreakIterator.Run
ch
- the character to testtrue
if ch
is accepted