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:
java.lang.Iterable<T>
,java.util.Collection<T>
,java.util.List<T>
,java.util.RandomAccess
public class EolSequence<T> extends EolCollection<T> implements java.util.List<T>, java.util.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, java.util.Collection<? extends T> c)
void
ensureCapacity(int minSize)
T
get(int index)
int
indexOf(java.lang.Object o)
int
lastIndexOf(java.lang.Object o)
java.util.ListIterator<T>
listIterator()
java.util.ListIterator<T>
listIterator(int index)
T
remove(int index)
void
replaceAll(java.util.function.UnaryOperator<T> operator)
T
set(int index, T element)
void
sort(java.util.Comparator<? super T> c)
java.util.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
-
-
-
-
Method Detail
-
ensureCapacity
public void ensureCapacity(int minSize)
- Parameters:
minSize
-- Since:
- 1.6
-
addAll
public boolean addAll(int index, java.util.Collection<? extends T> c)
- Specified by:
addAll
in interfacejava.util.List<T>
-
replaceAll
public void replaceAll(java.util.function.UnaryOperator<T> operator)
- Specified by:
replaceAll
in interfacejava.util.List<T>
-
sort
public void sort(java.util.Comparator<? super T> c)
- Specified by:
sort
in interfacejava.util.List<T>
-
indexOf
public int indexOf(java.lang.Object o)
- Specified by:
indexOf
in interfacejava.util.List<T>
-
lastIndexOf
public int lastIndexOf(java.lang.Object o)
- Specified by:
lastIndexOf
in interfacejava.util.List<T>
-
listIterator
public java.util.ListIterator<T> listIterator()
- Specified by:
listIterator
in interfacejava.util.List<T>
-
listIterator
public java.util.ListIterator<T> listIterator(int index)
- Specified by:
listIterator
in interfacejava.util.List<T>
-
-