Class ParseErrorList
- All Implemented Interfaces:
Serializable, Cloneable, Iterable<ParseError>, Collection<ParseError>, List<ParseError>, RandomAccess, SequencedCollection<ParseError>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate final intprivate final intFields inherited from class AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionParseErrorList(int initialCapacity, int maxSize) ParseErrorList(ParseErrorList copy) Create a new ParseErrorList with the same settings, but no errors in the list -
Method Summary
Modifier and TypeMethodDescription(package private) boolean(package private) intstatic ParseErrorListstatic ParseErrorListtracking(int maxSize) Methods inherited from class ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class AbstractCollection
containsAll, toStringMethods inherited from interface Collection
parallelStream, stream, toArrayMethods inherited from interface List
containsAll, reversed
-
Field Details
-
INITIAL_CAPACITY
private static final int INITIAL_CAPACITY- See Also:
-
initialCapacity
private final int initialCapacity -
maxSize
private final int maxSize
-
-
Constructor Details
-
ParseErrorList
ParseErrorList(int initialCapacity, int maxSize) -
ParseErrorList
ParseErrorList(ParseErrorList copy) Create a new ParseErrorList with the same settings, but no errors in the list- Parameters:
copy- initial and max size details to copy
-
-
Method Details
-
canAddError
boolean canAddError() -
getMaxSize
int getMaxSize() -
noTracking
-
tracking
-