Class DynamicList<T>
- java.lang.Object
-
- org.eclipse.epsilon.epl.combinations.DynamicList<T>
-
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,List<T>
public abstract class DynamicList<T> extends Object implements List<T>
-
-
Constructor Summary
Constructors Constructor Description DynamicList()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
add(int arg0, T arg1)
boolean
add(T arg0)
boolean
addAll(int arg0, Collection<? extends T> arg1)
boolean
addAll(Collection<? extends T> arg0)
void
addListener(DynamicListListener<T> listener)
void
clear()
boolean
contains(Object arg0)
boolean
containsAll(Collection<?> arg0)
T
get(int arg0)
ExceptionHandler<EolRuntimeException>
getExceptionHandler()
protected abstract List<T>
getValues()
int
indexOf(Object arg0)
boolean
isEmpty()
boolean
isResetable()
Iterator<T>
iterator()
int
lastIndexOf(Object arg0)
ListIterator<T>
listIterator()
ListIterator<T>
listIterator(int arg0)
T
remove(int arg0)
boolean
remove(Object arg0)
boolean
removeAll(Collection<?> arg0)
boolean
removeListener(DynamicListListener<T> listener)
void
reset()
boolean
retainAll(Collection<?> arg0)
T
set(int arg0, T arg1)
void
setExceptionHandler(ExceptionHandler<EolRuntimeException> exceptionHandler)
void
setResetable(boolean resetable)
int
size()
List<T>
subList(int arg0, int arg1)
Object[]
toArray()
<A> A[]
toArray(A[] arg0)
-
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
-
-
-
-
Method Detail
-
getValues
protected abstract List<T> getValues() throws EolRuntimeException
- Throws:
EolRuntimeException
-
addListener
public void addListener(DynamicListListener<T> listener)
-
removeListener
public boolean removeListener(DynamicListListener<T> listener)
-
getExceptionHandler
public ExceptionHandler<EolRuntimeException> getExceptionHandler()
-
setExceptionHandler
public void setExceptionHandler(ExceptionHandler<EolRuntimeException> exceptionHandler)
-
reset
public void reset()
-
isResetable
public boolean isResetable()
-
setResetable
public void setResetable(boolean resetable)
-
add
public boolean add(T arg0)
-
addAll
public boolean addAll(Collection<? extends T> arg0)
-
addAll
public boolean addAll(int arg0, Collection<? extends T> arg1)
-
clear
public void clear()
-
contains
public boolean contains(Object arg0)
-
containsAll
public boolean containsAll(Collection<?> arg0)
- Specified by:
containsAll
in interfaceCollection<T>
- Specified by:
containsAll
in interfaceList<T>
-
isEmpty
public boolean isEmpty()
-
lastIndexOf
public int lastIndexOf(Object arg0)
- Specified by:
lastIndexOf
in interfaceList<T>
-
listIterator
public ListIterator<T> listIterator()
- Specified by:
listIterator
in interfaceList<T>
-
listIterator
public ListIterator<T> listIterator(int arg0)
- Specified by:
listIterator
in interfaceList<T>
-
remove
public boolean remove(Object arg0)
-
removeAll
public boolean removeAll(Collection<?> arg0)
-
retainAll
public boolean retainAll(Collection<?> arg0)
-
size
public int size()
-
toArray
public Object[] toArray()
-
-