Package one.microstream.collections.old
Class AbstractOldGettingList<E>
- java.lang.Object
-
- one.microstream.collections.old.AbstractOldGettingList<E>
-
- All Implemented Interfaces:
Iterable<E>
,Collection<E>
,List<E>
,OldCollection<E>
,OldList<E>
- Direct Known Subclasses:
AbstractOldRemovingList
,AbstractOldSettingList
,ArrayView.OldArrayView
,ConstList.OldConstList
,EqConstList.OldConstList
,ListView.OldListView
public abstract class AbstractOldGettingList<E> extends Object implements OldList<E>
-
-
Constructor Summary
Constructors Constructor Description AbstractOldGettingList()
-
Method Summary
Modifier and Type Method Description void
add(int index, E element)
boolean
add(E e)
boolean
addAll(int index, Collection<? extends E> c)
boolean
addAll(Collection<? extends E> c)
void
clear()
boolean
contains(Object o)
boolean
containsAll(Collection<?> c)
E
get(int index)
int
indexOf(Object o)
boolean
isEmpty()
Iterator<E>
iterator()
int
lastIndexOf(Object o)
ListIterator<E>
listIterator()
ListIterator<E>
listIterator(int index)
XGettingList<E>
parent()
E
remove(int index)
boolean
remove(Object o)
boolean
removeAll(Collection<?> c)
boolean
retainAll(Collection<?> c)
E
set(int index, E element)
int
size()
AbstractOldGettingList<E>
subList(int fromIndex, int toIndex)
Object[]
toArray()
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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, toArray
-
Methods inherited from interface one.microstream.collections.old.OldCollection
bla, toArray
-
-
-
-
Method Detail
-
parent
public XGettingList<E> parent()
-
add
public boolean add(E e) throws UnsupportedOperationException
- Specified by:
add
in interfaceCollection<E>
- Specified by:
add
in interfaceList<E>
- Throws:
UnsupportedOperationException
-
add
public void add(int index, E element) throws UnsupportedOperationException
- Specified by:
add
in interfaceList<E>
- Throws:
UnsupportedOperationException
-
addAll
public boolean addAll(Collection<? extends E> c) throws UnsupportedOperationException
- Specified by:
addAll
in interfaceCollection<E>
- Specified by:
addAll
in interfaceList<E>
- Throws:
UnsupportedOperationException
-
addAll
public boolean addAll(int index, Collection<? extends E> c) throws UnsupportedOperationException
- Specified by:
addAll
in interfaceList<E>
- Throws:
UnsupportedOperationException
-
clear
public void clear() throws UnsupportedOperationException
- Specified by:
clear
in interfaceCollection<E>
- Specified by:
clear
in interfaceList<E>
- Throws:
UnsupportedOperationException
-
contains
public boolean contains(Object o)
-
containsAll
public boolean containsAll(Collection<?> c)
- Specified by:
containsAll
in interfaceCollection<E>
- Specified by:
containsAll
in interfaceList<E>
-
isEmpty
public boolean isEmpty()
-
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOf
in interfaceList<E>
-
listIterator
public ListIterator<E> listIterator()
- Specified by:
listIterator
in interfaceList<E>
-
listIterator
public ListIterator<E> listIterator(int index)
- Specified by:
listIterator
in interfaceList<E>
-
remove
public boolean remove(Object o) throws UnsupportedOperationException
- Specified by:
remove
in interfaceCollection<E>
- Specified by:
remove
in interfaceList<E>
- Throws:
UnsupportedOperationException
-
remove
public E remove(int index) throws UnsupportedOperationException
- Specified by:
remove
in interfaceList<E>
- Throws:
UnsupportedOperationException
-
removeAll
public boolean removeAll(Collection<?> c) throws UnsupportedOperationException
- Specified by:
removeAll
in interfaceCollection<E>
- Specified by:
removeAll
in interfaceList<E>
- Throws:
UnsupportedOperationException
-
retainAll
public boolean retainAll(Collection<?> c) throws UnsupportedOperationException
- Specified by:
retainAll
in interfaceCollection<E>
- Specified by:
retainAll
in interfaceList<E>
- Throws:
UnsupportedOperationException
-
size
public int size()
-
subList
public AbstractOldGettingList<E> subList(int fromIndex, int toIndex)
-
toArray
public Object[] toArray()
-
-