public class CharacterSet extends Object
Constructor and Description |
---|
CharacterSet() |
Modifier and Type | Method and Description |
---|---|
void |
addInterval(char low,
char high)
Adds the interval of characters to the set.
|
void |
close()
Called after the last interval has been added.
|
boolean |
contains(char ch)
Used to determine whether or not the character is a member of the
set.
|
public void addInterval(char low, char high)
public void close()
public boolean contains(char ch)