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 voidadd(int arg0, T arg1)booleanadd(T arg0)booleanaddAll(int arg0, Collection<? extends T> arg1)booleanaddAll(Collection<? extends T> arg0)voidaddListener(DynamicListListener<T> listener)voidclear()booleancontains(Object arg0)booleancontainsAll(Collection<?> arg0)Tget(int arg0)ExceptionHandler<EolRuntimeException>getExceptionHandler()protected abstract List<T>getValues()intindexOf(Object arg0)booleanisEmpty()booleanisResetable()Iterator<T>iterator()intlastIndexOf(Object arg0)ListIterator<T>listIterator()ListIterator<T>listIterator(int arg0)Tremove(int arg0)booleanremove(Object arg0)booleanremoveAll(Collection<?> arg0)booleanremoveListener(DynamicListListener<T> listener)voidreset()booleanretainAll(Collection<?> arg0)Tset(int arg0, T arg1)voidsetExceptionHandler(ExceptionHandler<EolRuntimeException> exceptionHandler)voidsetResetable(boolean resetable)intsize()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:
containsAllin interfaceCollection<T>- Specified by:
containsAllin interfaceList<T>
-
isEmpty
public boolean isEmpty()
-
lastIndexOf
public int lastIndexOf(Object arg0)
- Specified by:
lastIndexOfin interfaceList<T>
-
listIterator
public ListIterator<T> listIterator()
- Specified by:
listIteratorin interfaceList<T>
-
listIterator
public ListIterator<T> listIterator(int arg0)
- Specified by:
listIteratorin 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()
-
-