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

    Constructors
    Constructor Description
    MiniList()
    Deprecated.
     
    MiniList​(E element)
    Deprecated.
     
    MiniList​(E[] e)
    Deprecated.
     
    MiniList​(java.util.Collection<? extends E> c)
    Deprecated.
     
  • 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

      public MiniList​(java.util.Collection<? extends E> c)
      Deprecated.
    • MiniList

      public MiniList​(E[] e)
      Deprecated.
    • MiniList

      public MiniList​(E element)
      Deprecated.
  • Method Details

    • size

      public int size()
      Deprecated.
      Specified by:
      size in interface java.util.Collection<E>
      Specified by:
      size in interface java.util.List<E>
    • isEmpty

      public boolean isEmpty()
      Deprecated.
      Specified by:
      isEmpty in interface java.util.Collection<E>
      Specified by:
      isEmpty in interface java.util.List<E>
    • contains

      public boolean contains​(java.lang.Object o)
      Deprecated.
      Specified by:
      contains in interface java.util.Collection<E>
      Specified by:
      contains in interface java.util.List<E>
    • iterator

      public java.util.Iterator<E> iterator()
      Deprecated.
      Specified by:
      iterator in interface java.util.Collection<E>
      Specified by:
      iterator in interface java.lang.Iterable<E>
      Specified by:
      iterator in interface java.util.List<E>
    • toArray

      public java.lang.Object[] toArray()
      Deprecated.
      Specified by:
      toArray in interface java.util.Collection<E>
      Specified by:
      toArray in interface java.util.List<E>
    • toArray

      public <T> T[] toArray​(T[] a)
      Deprecated.
      Specified by:
      toArray in interface java.util.Collection<E>
      Specified by:
      toArray in interface java.util.List<E>
    • add

      public boolean add​(E e)
      Deprecated.
      Specified by:
      add in interface java.util.Collection<E>
      Specified by:
      add in interface java.util.List<E>
    • remove

      public boolean remove​(java.lang.Object o)
      Deprecated.
      Specified by:
      remove in interface java.util.Collection<E>
      Specified by:
      remove in interface java.util.List<E>
    • containsAll

      public boolean containsAll​(java.util.Collection<?> c)
      Deprecated.
      Specified by:
      containsAll in interface java.util.Collection<E>
      Specified by:
      containsAll in interface java.util.List<E>
    • addAll

      public boolean addAll​(java.util.Collection<? extends E> c)
      Deprecated.
      Specified by:
      addAll in interface java.util.Collection<E>
      Specified by:
      addAll in interface java.util.List<E>
    • addAll

      public boolean addAll​(int index, java.util.Collection<? extends E> c)
      Deprecated.
      Specified by:
      addAll in interface java.util.List<E>
    • removeAll

      public boolean removeAll​(java.util.Collection<?> c)
      Deprecated.
      Specified by:
      removeAll in interface java.util.Collection<E>
      Specified by:
      removeAll in interface java.util.List<E>
    • retainAll

      public boolean retainAll​(java.util.Collection<?> c)
      Deprecated.
      Specified by:
      retainAll in interface java.util.Collection<E>
      Specified by:
      retainAll in interface java.util.List<E>
    • clear

      public void clear()
      Deprecated.
      Specified by:
      clear in interface java.util.Collection<E>
      Specified by:
      clear in interface java.util.List<E>
    • get

      public E get​(int index)
      Deprecated.
      Specified by:
      get in interface java.util.List<E>
    • set

      public E set​(int index, E element)
      Deprecated.
      Specified by:
      set in interface java.util.List<E>
    • add

      public void add​(int index, E element)
      Deprecated.
      Specified by:
      add in interface java.util.List<E>
    • remove

      public E remove​(int index)
      Deprecated.
      Specified by:
      remove in interface java.util.List<E>
    • indexOf

      public int indexOf​(java.lang.Object o)
      Deprecated.
      Specified by:
      indexOf in interface java.util.List<E>
    • lastIndexOf

      public int lastIndexOf​(java.lang.Object o)
      Deprecated.
      Specified by:
      lastIndexOf in interface java.util.List<E>
    • listIterator

      public java.util.ListIterator<E> listIterator()
      Deprecated.
      Specified by:
      listIterator in interface java.util.List<E>
    • listIterator

      public java.util.ListIterator<E> listIterator​(int index)
      Deprecated.
      Specified by:
      listIterator in interface java.util.List<E>
    • subList

      public java.util.List<E> subList​(int fromIndex, int toIndex)
      Deprecated.
      Specified by:
      subList in interface java.util.List<E>
    • equals

      public boolean equals​(java.lang.Object obj)
      Deprecated.
      Specified by:
      equals in interface java.util.Collection<E>
      Specified by:
      equals in interface java.util.List<E>
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Deprecated.
      Specified by:
      hashCode in interface java.util.Collection<E>
      Specified by:
      hashCode in interface java.util.List<E>
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Deprecated.
      Overrides:
      toString in class java.lang.Object