document symbols.
| Modifier and Type | Class and Description |
|---|---|
| protected abstract static class | |
| protected static class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Iterator | asIterator(DocumentSymbol documentSymbol)
Returns an unmodifiable iterator over the |
| DocumentSymbols | back to summary |
|---|---|
| private DocumentSymbols() | |
| asIterator | back to summary |
|---|---|
| public static Iterator Returns an unmodifiable iterator over the It does not guarantee a well defined behavior of the resulting iterator if you modify the structure while the iteration is in progress. | |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract Iterable | |
| public boolean | |
| public T | |
| public void | remove()
Overrides default java. Removes from the underlying collection the last element returned by this iterator (optional operation). |
| queue | back to summary |
|---|---|
| private final Queue<T> queue | |
| BreadthFirstIterator | back to summary |
|---|---|
| protected BreadthFirstIterator(T root) | |
| getChildren | back to summary |
|---|---|
| protected abstract Iterable Returns with the children (direct descendants) of the | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| next | back to summary |
|---|---|
| public T next() Implements java. Doc from java. Returns the next element in the iteration.
| |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the
| |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected Iterable | getChildren(DocumentSymbol node)
Implements abstract org. Returns with the children (direct descendants) of the |
| DocumentSymbolIterator | back to summary |
|---|---|
| protected DocumentSymbolIterator(DocumentSymbol documentSymbol) | |
| getChildren | back to summary |
|---|---|
| protected Iterable Implements abstract org. Doc from org. Returns with the children (direct descendants) of the
| |