Class EntityBitSetList<ENTITY>

java.lang.Object
org.teamapps.universaldb.pojo.EntityBitSetList<ENTITY>
All Implemented Interfaces:
java.lang.Iterable<ENTITY>, java.util.Collection<ENTITY>, java.util.List<ENTITY>

public class EntityBitSetList<ENTITY>
extends java.lang.Object
implements java.util.List<ENTITY>
  • Constructor Summary

    Constructors 
    Constructor Description
    EntityBitSetList​(EntityBuilder<ENTITY> entityBuilder, java.util.BitSet records)  
  • Method Summary

    Modifier and Type Method Description
    void add​(int index, ENTITY element)  
    boolean add​(ENTITY entity)  
    boolean addAll​(int index, java.util.Collection<? extends ENTITY> c)  
    boolean addAll​(java.util.Collection<? extends ENTITY> c)  
    void clear()  
    boolean contains​(java.lang.Object o)  
    boolean containsAll​(java.util.Collection<?> c)  
    ENTITY get​(int index)  
    int indexOf​(java.lang.Object o)  
    boolean isEmpty()  
    java.util.Iterator<ENTITY> iterator()  
    int lastIndexOf​(java.lang.Object o)  
    java.util.ListIterator<ENTITY> listIterator()  
    java.util.ListIterator<ENTITY> listIterator​(int index)  
    ENTITY remove​(int index)  
    boolean remove​(java.lang.Object o)  
    boolean removeAll​(java.util.Collection<?> c)  
    boolean retainAll​(java.util.Collection<?> c)  
    ENTITY set​(int index, ENTITY element)  
    int size()  
    void sort​(java.util.Comparator<? super ENTITY> c)  
    java.util.List<ENTITY> subList​(int fromIndex, int toIndex)  
    java.lang.Object[] toArray()  
    <T> T[] toArray​(T[] a)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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

    equals, hashCode, replaceAll, spliterator
  • Constructor Details

  • Method Details

    • size

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public void sort​(java.util.Comparator<? super ENTITY> c)
      Specified by:
      sort in interface java.util.List<ENTITY>