Package org.htmlunit.html
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 java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractList
add, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.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
public int getLength() -
size
public int size()- Specified by:
size
in interfaceCollection<DomNode>
- Specified by:
size
in interfaceList<DomNode>
- Specified by:
size
in classAbstractCollection<DomNode>
-
item
-
get
-
listIterator
- Specified by:
listIterator
in interfaceList<DomNode>
- Specified by:
listIterator
in classAbstractSequentialList<DomNode>
-
toString
- Overrides:
toString
in classAbstractCollection<DomNode>
-