Package de.bsvrz.dav.daf.util
Class MiniList<E>
java.lang.Object
de.bsvrz.dav.daf.util.MiniList<E>
- All Implemented Interfaces:
java.lang.Iterable<E>,java.util.Collection<E>,java.util.List<E>
@Deprecated
public final class MiniList<E>
extends java.lang.Object
implements java.util.List<E>
Deprecated.
Minimal-Implementierung einer Liste, die auf geringen Speicherverbrauch bei wenigen Elementen ausgelegt ist.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidadd(int index, E element)Deprecated.booleanadd(E e)Deprecated.booleanaddAll(int index, java.util.Collection<? extends E> c)Deprecated.booleanaddAll(java.util.Collection<? extends E> c)Deprecated.voidclear()Deprecated.booleancontains(java.lang.Object o)Deprecated.booleancontainsAll(java.util.Collection<?> c)Deprecated.booleanequals(java.lang.Object obj)Deprecated.Eget(int index)Deprecated.inthashCode()Deprecated.intindexOf(java.lang.Object o)Deprecated.booleanisEmpty()Deprecated.java.util.Iterator<E>iterator()Deprecated.intlastIndexOf(java.lang.Object o)Deprecated.java.util.ListIterator<E>listIterator()Deprecated.java.util.ListIterator<E>listIterator(int index)Deprecated.Eremove(int index)Deprecated.booleanremove(java.lang.Object o)Deprecated.booleanremoveAll(java.util.Collection<?> c)Deprecated.booleanretainAll(java.util.Collection<?> c)Deprecated.Eset(int index, E element)Deprecated.intsize()Deprecated.java.util.List<E>subList(int fromIndex, int toIndex)Deprecated.java.lang.Object[]toArray()Deprecated.<T> T[]toArray(T[] a)Deprecated.java.lang.StringtoString()Deprecated.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.lang.Iterable
forEachMethods inherited from interface java.util.List
replaceAll, sort, spliterator
-
Constructor Details
-
MiniList
public MiniList()Deprecated. -
MiniList
Deprecated. -
MiniList
Deprecated. -
MiniList
Deprecated.
-
-
Method Details
-
size
public int size()Deprecated. -
isEmpty
public boolean isEmpty()Deprecated. -
contains
public boolean contains(java.lang.Object o)Deprecated. -
iterator
Deprecated. -
toArray
public java.lang.Object[] toArray()Deprecated. -
toArray
public <T> T[] toArray(T[] a)Deprecated. -
add
Deprecated. -
remove
public boolean remove(java.lang.Object o)Deprecated. -
containsAll
public boolean containsAll(java.util.Collection<?> c)Deprecated. -
addAll
Deprecated. -
addAll
Deprecated.- Specified by:
addAllin interfacejava.util.List<E>
-
removeAll
public boolean removeAll(java.util.Collection<?> c)Deprecated. -
retainAll
public boolean retainAll(java.util.Collection<?> c)Deprecated. -
clear
public void clear()Deprecated. -
get
Deprecated.- Specified by:
getin interfacejava.util.List<E>
-
set
Deprecated.- Specified by:
setin interfacejava.util.List<E>
-
add
Deprecated.- Specified by:
addin interfacejava.util.List<E>
-
remove
Deprecated.- Specified by:
removein interfacejava.util.List<E>
-
indexOf
public int indexOf(java.lang.Object o)Deprecated.- Specified by:
indexOfin interfacejava.util.List<E>
-
lastIndexOf
public int lastIndexOf(java.lang.Object o)Deprecated.- Specified by:
lastIndexOfin interfacejava.util.List<E>
-
listIterator
Deprecated.- Specified by:
listIteratorin interfacejava.util.List<E>
-
listIterator
Deprecated.- Specified by:
listIteratorin interfacejava.util.List<E>
-
subList
Deprecated.- Specified by:
subListin interfacejava.util.List<E>
-
equals
public boolean equals(java.lang.Object obj)Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
public java.lang.String toString()Deprecated.- Overrides:
toStringin classjava.lang.Object
-