T
- public class LimitList<T> extends ArrayList<T>
Modifier and Type | Class and Description |
---|---|
static class |
LimitList.ResultLimitExceededException |
modCount
Constructor and Description |
---|
LimitList(AtomicLong limit) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
T element) |
boolean |
add(T e) |
protected AtomicLong |
getLimit() |
boolean |
isResultLimitExceeded()
Returns true if the symbols limit has been exceeded while computing symbols
information, false otherwise
|
addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public LimitList(AtomicLong limit)
public void add(int index, T element)
public boolean add(T e)
protected AtomicLong getLimit()
public boolean isResultLimitExceeded()
Copyright © 2020. All rights reserved.