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 void
add(int index, E element)
Deprecated.boolean
add(E e)
Deprecated.boolean
addAll(int index, java.util.Collection<? extends E> c)
Deprecated.boolean
addAll(java.util.Collection<? extends E> c)
Deprecated.void
clear()
Deprecated.boolean
contains(java.lang.Object o)
Deprecated.boolean
containsAll(java.util.Collection<?> c)
Deprecated.boolean
equals(java.lang.Object obj)
Deprecated.E
get(int index)
Deprecated.int
hashCode()
Deprecated.int
indexOf(java.lang.Object o)
Deprecated.boolean
isEmpty()
Deprecated.java.util.Iterator<E>
iterator()
Deprecated.int
lastIndexOf(java.lang.Object o)
Deprecated.java.util.ListIterator<E>
listIterator()
Deprecated.java.util.ListIterator<E>
listIterator(int index)
Deprecated.E
remove(int index)
Deprecated.boolean
remove(java.lang.Object o)
Deprecated.boolean
removeAll(java.util.Collection<?> c)
Deprecated.boolean
retainAll(java.util.Collection<?> c)
Deprecated.E
set(int index, E element)
Deprecated.int
size()
Deprecated.java.util.List<E>
subList(int fromIndex, int toIndex)
Deprecated.java.lang.Object[]
toArray()
Deprecated.<T> T[]
toArray(T[] a)
Deprecated.java.lang.String
toString()
Deprecated.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.lang.Iterable
forEach
Methods 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:
addAll
in 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:
get
in interfacejava.util.List<E>
-
set
Deprecated.- Specified by:
set
in interfacejava.util.List<E>
-
add
Deprecated.- Specified by:
add
in interfacejava.util.List<E>
-
remove
Deprecated.- Specified by:
remove
in interfacejava.util.List<E>
-
indexOf
public int indexOf(java.lang.Object o)Deprecated.- Specified by:
indexOf
in interfacejava.util.List<E>
-
lastIndexOf
public int lastIndexOf(java.lang.Object o)Deprecated.- Specified by:
lastIndexOf
in interfacejava.util.List<E>
-
listIterator
Deprecated.- Specified by:
listIterator
in interfacejava.util.List<E>
-
listIterator
Deprecated.- Specified by:
listIterator
in interfacejava.util.List<E>
-
subList
Deprecated.- Specified by:
subList
in 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:
toString
in classjava.lang.Object
-