Package io.fluentlenium.core.domain
Class ListImpl<T>
java.lang.Object
io.fluentlenium.core.domain.ListImpl<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,List<T>
- Direct Known Subclasses:
DelegatingList,LazyComponentList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends T> collection) booleanaddAll(Collection<? extends T> collection) voidclear()booleanbooleancontainsAll(Collection<?> collection) get(int index) getList()intbooleanisEmpty()iterator()intlastIndexOf(Object obj) listIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> collection) booleanretainAll(Collection<?> collection) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(T[] elements) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Constructor Details
-
ListImpl
public ListImpl()
-
-
Method Details
-
getList
-
clear
public void clear() -
isEmpty
public boolean isEmpty() -
set
-
containsAll
- Specified by:
containsAllin interfaceCollection<T>- Specified by:
containsAllin interfaceList<T>
-
subList
-
add
-
remove
-
size
public int size() -
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
contains
-
toArray
-
retainAll
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<T>
-
toArray
public <T> T[] toArray(T[] elements) -
removeAll
-
remove
-
addAll
-
indexOf
-
add
-
get
-
listIterator
- Specified by:
listIteratorin interfaceList<T>
-
addAll
-
iterator
-