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 voidadd(int index, E element)booleanadd(E e)booleanaddAll(int index, Collection<? extends E> c)booleanaddAll(Collection<? extends E> c)voidclear()booleancontains(Object o)booleancontainsAll(Collection<?> c)Eget(int index)intindexOf(Object o)booleanisEmpty()Iterator<E>iterator()intlastIndexOf(Object o)ListIterator<E>listIterator()ListIterator<E>listIterator(int index)XGettingList<E>parent()Eremove(int index)booleanremove(Object o)booleanremoveAll(Collection<?> c)booleanretainAll(Collection<?> c)Eset(int index, E element)intsize()AbstractOldGettingList<E>subList(int fromIndex, int toIndex)Object[]toArray()StringtoString()-
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:
addin interfaceCollection<E>- Specified by:
addin interfaceList<E>- Throws:
UnsupportedOperationException
-
add
public void add(int index, E element) throws UnsupportedOperationException- Specified by:
addin interfaceList<E>- Throws:
UnsupportedOperationException
-
addAll
public boolean addAll(Collection<? extends E> c) throws UnsupportedOperationException
- Specified by:
addAllin interfaceCollection<E>- Specified by:
addAllin interfaceList<E>- Throws:
UnsupportedOperationException
-
addAll
public boolean addAll(int index, Collection<? extends E> c) throws UnsupportedOperationException- Specified by:
addAllin interfaceList<E>- Throws:
UnsupportedOperationException
-
clear
public void clear() throws UnsupportedOperationException- Specified by:
clearin interfaceCollection<E>- Specified by:
clearin interfaceList<E>- Throws:
UnsupportedOperationException
-
contains
public boolean contains(Object o)
-
containsAll
public boolean containsAll(Collection<?> c)
- Specified by:
containsAllin interfaceCollection<E>- Specified by:
containsAllin interfaceList<E>
-
isEmpty
public boolean isEmpty()
-
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOfin interfaceList<E>
-
listIterator
public ListIterator<E> listIterator()
- Specified by:
listIteratorin interfaceList<E>
-
listIterator
public ListIterator<E> listIterator(int index)
- Specified by:
listIteratorin interfaceList<E>
-
remove
public boolean remove(Object o) throws UnsupportedOperationException
- Specified by:
removein interfaceCollection<E>- Specified by:
removein interfaceList<E>- Throws:
UnsupportedOperationException
-
remove
public E remove(int index) throws UnsupportedOperationException
- Specified by:
removein interfaceList<E>- Throws:
UnsupportedOperationException
-
removeAll
public boolean removeAll(Collection<?> c) throws UnsupportedOperationException
- Specified by:
removeAllin interfaceCollection<E>- Specified by:
removeAllin interfaceList<E>- Throws:
UnsupportedOperationException
-
retainAll
public boolean retainAll(Collection<?> c) throws UnsupportedOperationException
- Specified by:
retainAllin interfaceCollection<E>- Specified by:
retainAllin interfaceList<E>- Throws:
UnsupportedOperationException
-
size
public int size()
-
subList
public AbstractOldGettingList<E> subList(int fromIndex, int toIndex)
-
toArray
public Object[] toArray()
-
-