Class SelectorListImpl
java.lang.Object
org.htmlunit.cssparser.parser.AbstractLocatable
org.htmlunit.cssparser.parser.selector.SelectorListImpl
- All Implemented Interfaces:
Serializable,Iterable<Selector>,Collection<Selector>,List<Selector>,SequencedCollection<Selector>,Locatable,SelectorList
Implementation of SelectorList.
- Author:
- Ronald Brill
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends Selector> c) booleanaddAll(Collection<? extends Selector> c) voidclear()booleanbooleancontainsAll(Collection<?> c) get(int index) getSelectors.intbooleanisEmpty()iterator()intlistIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(T[] a) toString()Methods inherited from class org.htmlunit.cssparser.parser.AbstractLocatable
getLocator, setLocatorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addFirst, addLast, equals, getFirst, getLast, hashCode, removeFirst, removeLast, replaceAll, reversed, sort, spliterator
-
Constructor Details
-
SelectorListImpl
public SelectorListImpl()
-
-
Method Details
-
getSelectors
getSelectors.
- Returns:
- the list of selectors.
-
toString
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
add
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<Selector>- Specified by:
containsAllin interfaceList<Selector>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
public void clear() -
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<Selector>
-
listIterator
- Specified by:
listIteratorin interfaceList<Selector>
-
listIterator
- Specified by:
listIteratorin interfaceList<Selector>
-
subList
-