JFlex
public final class StateSet extends Object
| Field Summary | |
|---|---|
| static StateSet | EMPTY |
| Constructor Summary | |
|---|---|
| StateSet() | |
| StateSet(int size) | |
| StateSet(int size, int state) | |
| StateSet(StateSet set) | |
| Method Summary | |
|---|---|
| void | add(StateSet set) |
| void | addState(int state) |
| void | clear() |
| StateSet | complement(StateSet set)
Returns the set of elements that contained are in the specified set
but are not contained in this set. |
| boolean | containsElements() |
| boolean | containsSet(StateSet set) |
| StateSet | copy() |
| void | copy(StateSet set) |
| boolean | equals(Object b) |
| int | getAndRemoveElement()
Returns one element of the set and removes it.
|
| int | hashCode() |
| boolean | isElement(int state) |
| void | remove(int state) |
| StateSetEnumerator | states() |
| String | toString() |
Throws: ClassCastException if b is not a StateSet NullPointerException if b is null