| Package | Description |
|---|---|
| org.antlr.v4.runtime.misc |
| Modifier and Type | Class and Description |
|---|---|
class |
IntervalSet
This class implements the
IntSet backed by a sorted array of
non-overlapping intervals. |
| Modifier and Type | Method and Description |
|---|---|
IntSet |
IntSet.addAll(IntSet set)
Modify the current
IntSet object to contain all elements that are
present in itself, the specified set, or both. |
IntSet |
IntSet.and(IntSet a)
Return a new
IntSet object containing all elements that are
present in both the current set and the specified set a. |
IntSet |
IntSet.complement(IntSet elements)
Return a new
IntSet object containing all elements that are
present in elements but not present in the current set. |
IntSet |
IntSet.or(IntSet a)
Return a new
IntSet object containing all elements that are
present in the current set, the specified set a, or both. |
IntSet |
IntSet.subtract(IntSet a)
Return a new
IntSet object containing all elements that are
present in the current set but not present in the input set a. |
| Modifier and Type | Method and Description |
|---|---|
IntSet |
IntSet.addAll(IntSet set)
Modify the current
IntSet object to contain all elements that are
present in itself, the specified set, or both. |
IntervalSet |
IntervalSet.addAll(IntSet set) |
IntSet |
IntSet.and(IntSet a)
Return a new
IntSet object containing all elements that are
present in both the current set and the specified set a. |
IntervalSet |
IntervalSet.and(IntSet other)
Return a new
IntSet object containing all elements that are
present in both the current set and the specified set a. |
IntSet |
IntSet.complement(IntSet elements)
Return a new
IntSet object containing all elements that are
present in elements but not present in the current set. |
IntervalSet |
IntervalSet.complement(IntSet vocabulary)
Return a new
IntSet object containing all elements that are
present in elements but not present in the current set. |
IntSet |
IntSet.or(IntSet a)
Return a new
IntSet object containing all elements that are
present in the current set, the specified set a, or both. |
IntervalSet |
IntervalSet.or(IntSet a) |
IntSet |
IntSet.subtract(IntSet a)
Return a new
IntSet object containing all elements that are
present in the current set but not present in the input set a. |
IntervalSet |
IntervalSet.subtract(IntSet a) |
Copyright © 1992–2024 Daniel Sun. All rights reserved.