Class SiblingDomNodeList
- All Implemented Interfaces:
Iterable<DomNode>, Collection<DomNode>, List<DomNode>, SequencedCollection<DomNode>, DomNodeList<DomNode>, NodeList
An implementation of DomNodeList that is much less expensive for iteration.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractList
add, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, subListMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, sort, spliterator, subList, toArray, toArray
-
Field Details
-
parent_
-
-
Constructor Details
-
SiblingDomNodeList
SiblingDomNodeList(DomNode parent)
-
-
Method Details
-
getLength
-
size
public int size()- Specified by:
sizein interfaceCollection<DomNode>- Specified by:
sizein interfaceList<DomNode>- Specified by:
sizein classAbstractCollection<DomNode>
-
item
-
get
-
listIterator
- Specified by:
listIteratorin interfaceList<DomNode>- Specified by:
listIteratorin classAbstractSequentialList<DomNode>
-
toString
- Overrides:
toStringin classAbstractCollection<DomNode>
-