Package org.jsoup.parser
Class ParseErrorList
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<ParseError>
,Collection<ParseError>
,List<ParseError>
,RandomAccess
,SequencedCollection<ParseError>
A container for ParseErrors.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private final int
private final int
Fields inherited from class java.util.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
clone()
(package private) int
static ParseErrorList
static ParseErrorList
tracking
(int maxSize) Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, 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, 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, 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
-
clone
- Overrides:
clone
in classArrayList<ParseError>
-