public static class CharClass.Parser
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
idx
The index into the string.
|
protected java.lang.String |
s
The string.
|
| Constructor and Description |
|---|
CharClass.Parser(java.lang.String s)
Create a new character class parser for the specified string.
|
protected java.lang.String s
protected int idx
public CharClass.Parser(java.lang.String s)
[' and trailing ']' characters.s - The string to parse.public boolean hasNext()
true if there are more characters.public boolean hasRange()
-'. Note that this test is destructive:
if the next character is a range delimiter, it is consumed.true if the next character is a range
delimiter.public char next()
Copyright © 2014. All Rights Reserved.