org.antlr.misc.BitSet , org.antlr.misc.IntervalSet
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public IntSet | |
| public IntSet | |
| public boolean | |
| public int | |
| public boolean | |
| public boolean | |
| public IntSet | |
| public void | |
| public int | size()
Return the size of this set (not the underlying implementation's allocated memory size, for example). |
| public IntSet | |
| public List | |
| public String | |
| public String |
| add | back to summary |
|---|---|
| public void add(int el) Add an element to the set | |
| addAll | back to summary |
|---|---|
| public void addAll(IntSet set) Add all elements from incoming set to this set. Can limit to set of its own type. | |
| and | back to summary |
|---|---|
| public IntSet and(IntSet a) Return the intersection of this set with the argument, creating a new set. | |
| complement | back to summary |
|---|---|
| public IntSet complement(IntSet elements) | |
| equals | back to summary |
|---|---|
public boolean equals(Object obj)
| |
| getSingleElement | back to summary |
|---|---|
| public int getSingleElement() | |
| isNil | back to summary |
|---|---|
| public boolean isNil() | |
| member | back to summary |
|---|---|
| public boolean member(int el) | |
| or | back to summary |
|---|---|
| public IntSet or(IntSet a) | |
| remove | back to summary |
|---|---|
| public void remove(int el) remove this element from this set | |
| size | back to summary |
|---|---|
| public int size() Return the size of this set (not the underlying implementation's allocated memory size, for example). | |
| subtract | back to summary |
|---|---|
| public IntSet subtract(IntSet a) | |
| toList | back to summary |
|---|---|
| public List | |
| toString | back to summary |
|---|---|
public String toString()
| |
| toString | back to summary |
|---|---|
| public String toString(Grammar g) | |