Package org.eclipse.lemminx.services
Class DocumentSymbolsResult
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<T>
-
- org.eclipse.lemminx.services.LimitList<org.eclipse.lsp4j.DocumentSymbol>
-
- org.eclipse.lemminx.services.DocumentSymbolsResult
-
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<org.eclipse.lsp4j.DocumentSymbol>,Collection<org.eclipse.lsp4j.DocumentSymbol>,List<org.eclipse.lsp4j.DocumentSymbol>,RandomAccess
public class DocumentSymbolsResult extends LimitList<org.eclipse.lsp4j.DocumentSymbol>
Result for document symbols computation for the textDocument/documentSymbol request- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.lemminx.services.LimitList
LimitList.ResultLimitExceededException
-
-
Field Summary
Fields Modifier and Type Field Description static DocumentSymbolsResultEMPTY_LIMITLESS_LIST-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description DocumentSymbolsResult(AtomicLong limit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentSymbolsResultcreateList()-
Methods inherited from class org.eclipse.lemminx.services.LimitList
add, add, getLimit, isResultLimitExceeded
-
Methods inherited from class java.util.ArrayList
addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.util.AbstractCollection
containsAll, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface java.util.List
containsAll
-
-
-
-
Field Detail
-
EMPTY_LIMITLESS_LIST
public static final DocumentSymbolsResult EMPTY_LIMITLESS_LIST
-
-
Constructor Detail
-
DocumentSymbolsResult
public DocumentSymbolsResult(AtomicLong limit)
-
-
Method Detail
-
createList
public DocumentSymbolsResult createList()
-
-