Class MiniSet<E>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
de.bsvrz.dav.daf.util.MiniSet<E>
All Implemented Interfaces:
java.lang.Iterable<E>, java.util.Collection<E>, java.util.Set<E>

@Deprecated
public class MiniSet<E>
extends java.util.AbstractSet<E>
Deprecated.
Minimalimplementierung eines Sets. Nur geeignet für wenige Elemente.
  • Constructor Summary

    Constructors
    Constructor Description
    MiniSet()
    Deprecated.
     
  • Method Summary

    Modifier and Type Method Description
    boolean add​(E e)
    Deprecated.
     
    void clear()
    Deprecated.
     
    boolean containsAll​(java.util.Collection<?> c)
    Deprecated.
     
    java.util.Iterator<E> iterator()
    Deprecated.
     
    boolean remove​(java.lang.Object o)
    Deprecated.
     
    boolean removeAll​(java.util.Collection<?> c)
    Deprecated.
     
    boolean retainAll​(java.util.Collection<?> c)
    Deprecated.
     
    int size()
    Deprecated.
     

    Methods inherited from class java.util.AbstractSet

    equals, hashCode

    Methods inherited from class java.util.AbstractCollection

    addAll, contains, isEmpty, toArray, toArray, toString

    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.Set

    addAll, contains, isEmpty, spliterator, toArray, toArray
  • Constructor Details

    • MiniSet

      public MiniSet()
      Deprecated.
  • Method Details

    • 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.Set<E>
      Specified by:
      iterator in class java.util.AbstractCollection<E>
    • size

      public int size()
      Deprecated.
      Specified by:
      size in interface java.util.Collection<E>
      Specified by:
      size in interface java.util.Set<E>
      Specified by:
      size in class java.util.AbstractCollection<E>
    • add

      public boolean add​(E e)
      Deprecated.
      Specified by:
      add in interface java.util.Collection<E>
      Specified by:
      add in interface java.util.Set<E>
      Overrides:
      add in class java.util.AbstractCollection<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.Set<E>
      Overrides:
      remove in class java.util.AbstractCollection<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.Set<E>
      Overrides:
      removeAll in class java.util.AbstractSet<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.Set<E>
      Overrides:
      retainAll in class java.util.AbstractCollection<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.Set<E>
      Overrides:
      containsAll in class java.util.AbstractCollection<E>
    • clear

      public void clear()
      Deprecated.
      Specified by:
      clear in interface java.util.Collection<E>
      Specified by:
      clear in interface java.util.Set<E>
      Overrides:
      clear in class java.util.AbstractCollection<E>