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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
addAll
(int index, Collection<? extends T> collection) boolean
addAll
(Collection<? extends T> collection) void
clear()
boolean
boolean
containsAll
(Collection<?> collection) get
(int index) getList()
int
boolean
isEmpty()
iterator()
int
lastIndexOf
(Object obj) listIterator
(int index) remove
(int index) boolean
boolean
removeAll
(Collection<?> collection) boolean
retainAll
(Collection<?> collection) int
size()
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, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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:
containsAll
in interfaceCollection<T>
- Specified by:
containsAll
in interfaceList<T>
-
subList
-
add
-
remove
-
size
public int size() -
listIterator
- Specified by:
listIterator
in interfaceList<T>
-
contains
-
toArray
-
retainAll
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<T>
-
toArray
public <T> T[] toArray(T[] elements) -
removeAll
-
remove
-
addAll
-
indexOf
-
add
-
get
-
listIterator
- Specified by:
listIterator
in interfaceList<T>
-
addAll
-
iterator
-