Package org.eclipse.epsilon.eol.types
Class EolSequence<T>
- java.lang.Object
-
- org.eclipse.epsilon.eol.types.EolCollection<T>
-
- org.eclipse.epsilon.eol.types.EolSequence<T>
-
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,List<T>
,RandomAccess
public class EolSequence<T> extends EolCollection<T> implements List<T>, RandomAccess
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.eol.types.EolCollection
wrapped
-
-
Constructor Summary
Constructors Constructor Description EolSequence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, T element)
boolean
addAll(int index, Collection<? extends T> c)
void
ensureCapacity(int minSize)
T
get(int index)
int
indexOf(Object o)
int
lastIndexOf(Object o)
ListIterator<T>
listIterator()
ListIterator<T>
listIterator(int index)
T
remove(int index)
void
replaceAll(UnaryOperator<T> operator)
T
set(int index, T element)
void
sort(Comparator<? super T> c)
List<T>
subList(int fromIndex, int toIndex)
-
Methods inherited from class org.eclipse.epsilon.eol.types.EolCollection
add, addAll, clear, contains, containsAll, equals, forEach, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
Method Detail
-
ensureCapacity
public void ensureCapacity(int minSize)
- Parameters:
minSize
-- Since:
- 1.6
-
addAll
public boolean addAll(int index, Collection<? extends T> c)
-
replaceAll
public void replaceAll(UnaryOperator<T> operator)
- Specified by:
replaceAll
in interfaceList<T>
-
sort
public void sort(Comparator<? super T> c)
-
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOf
in interfaceList<T>
-
listIterator
public ListIterator<T> listIterator()
- Specified by:
listIterator
in interfaceList<T>
-
listIterator
public ListIterator<T> listIterator(int index)
- Specified by:
listIterator
in interfaceList<T>
-
-