Package org.fluentlenium.core.domain
Class ListImpl<T>
- java.lang.Object
-
- org.fluentlenium.core.domain.ListImpl<T>
-
- All Implemented Interfaces:
java.lang.Iterable<T>
,java.util.Collection<T>
,java.util.List<T>
- Direct Known Subclasses:
DelegatingList
,LazyComponentList
public abstract class ListImpl<T> extends java.lang.Object implements java.util.List<T>
-
-
Constructor Summary
Constructors Constructor Description ListImpl()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
add(int index, T element)
boolean
add(T element)
boolean
addAll(int index, java.util.Collection<? extends T> collection)
boolean
addAll(java.util.Collection<? extends T> collection)
void
clear()
boolean
contains(java.lang.Object obj)
boolean
containsAll(java.util.Collection<?> collection)
T
get(int index)
abstract java.util.List<T>
getList()
int
indexOf(java.lang.Object obj)
boolean
isEmpty()
java.util.Iterator<T>
iterator()
int
lastIndexOf(java.lang.Object obj)
java.util.ListIterator<T>
listIterator()
java.util.ListIterator<T>
listIterator(int index)
T
remove(int index)
boolean
remove(java.lang.Object obj)
boolean
removeAll(java.util.Collection<?> collection)
boolean
retainAll(java.util.Collection<?> collection)
T
set(int index, T element)
int
size()
java.util.List<T>
subList(int fromIndex, int toIndex)
java.lang.Object[]
toArray()
<T> T[]
toArray(T[] elements)
-
-
-
Method Detail
-
getList
public abstract java.util.List<T> getList()
-
clear
public void clear()
-
isEmpty
public boolean isEmpty()
-
containsAll
public boolean containsAll(java.util.Collection<?> collection)
-
subList
public java.util.List<T> subList(int fromIndex, int toIndex)
- Specified by:
subList
in interfacejava.util.List<T>
-
add
public boolean add(T element)
-
remove
public boolean remove(java.lang.Object obj)
-
size
public int size()
-
listIterator
public java.util.ListIterator<T> listIterator()
- Specified by:
listIterator
in interfacejava.util.List<T>
-
contains
public boolean contains(java.lang.Object obj)
-
toArray
public java.lang.Object[] toArray()
-
retainAll
public boolean retainAll(java.util.Collection<?> collection)
-
lastIndexOf
public int lastIndexOf(java.lang.Object obj)
- Specified by:
lastIndexOf
in interfacejava.util.List<T>
-
toArray
public <T> T[] toArray(T[] elements)
-
removeAll
public boolean removeAll(java.util.Collection<?> collection)
-
addAll
public boolean addAll(java.util.Collection<? extends T> collection)
-
indexOf
public int indexOf(java.lang.Object obj)
- Specified by:
indexOf
in interfacejava.util.List<T>
-
listIterator
public java.util.ListIterator<T> listIterator(int index)
- Specified by:
listIterator
in interfacejava.util.List<T>
-
addAll
public boolean addAll(int index, java.util.Collection<? extends T> collection)
- Specified by:
addAll
in interfacejava.util.List<T>
-
-