Package org.eclipse.epsilon.eol.util
Class LazyIntegerList
- java.lang.Object
-
- org.eclipse.epsilon.eol.util.LazyIntegerList
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
LazyIntegerList.LazyIntegerListIterator
-
Constructor Summary
Constructors Constructor Description LazyIntegerList(int min, int max)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, Integer element)
boolean
add(Integer e)
boolean
addAll(int index, Collection<? extends Integer> c)
boolean
addAll(Collection<? extends Integer> c)
void
clear()
boolean
contains(Object o)
boolean
containsAll(Collection<?> c)
Integer
get(int index)
int
indexOf(Object o)
boolean
isEmpty()
Iterator<Integer>
iterator()
int
lastIndexOf(Object o)
ListIterator<Integer>
listIterator()
ListIterator<Integer>
listIterator(int index)
static void
main(String[] args)
Integer
remove(int index)
boolean
remove(Object o)
boolean
removeAll(Collection<?> c)
boolean
retainAll(Collection<?> c)
Integer
set(int index, Integer element)
int
size()
List<Integer>
subList(int fromIndex, int toIndex)
Object[]
toArray()
<T> T[]
toArray(T[] a)
-
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
-
main
public static void main(String[] args)
-
add
public boolean add(Integer e)
-
addAll
public boolean addAll(Collection<? extends Integer> c)
-
addAll
public boolean addAll(int index, Collection<? extends Integer> c)
-
clear
public void clear()
-
contains
public boolean contains(Object o)
-
containsAll
public boolean containsAll(Collection<?> c)
- Specified by:
containsAll
in interfaceCollection<Integer>
- Specified by:
containsAll
in interfaceList<Integer>
-
isEmpty
public boolean isEmpty()
-
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOf
in interfaceList<Integer>
-
listIterator
public ListIterator<Integer> listIterator()
- Specified by:
listIterator
in interfaceList<Integer>
-
listIterator
public ListIterator<Integer> listIterator(int index)
- Specified by:
listIterator
in interfaceList<Integer>
-
remove
public boolean remove(Object o)
-
removeAll
public boolean removeAll(Collection<?> c)
-
retainAll
public boolean retainAll(Collection<?> c)
-
size
public int size()
-
toArray
public Object[] toArray()
-
-