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, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods 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:
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>
-