Class IdentityArrayList<E>

  • All Implemented Interfaces:
    IdentityList<E>, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<E>, java.util.Collection<E>, java.util.List<E>, java.util.RandomAccess

    public class IdentityArrayList<E>
    extends java.util.ArrayList<E>
    implements IdentityList<E>
    Default implementation for IdentityList
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Constructor Summary

      Constructors 
      Constructor Description
      IdentityArrayList()  
      IdentityArrayList​(int initialCapacity)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 1811.
      IdentityArrayList​(java.util.Collection<? extends E> collection)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 1811.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean contains​(java.lang.Object object)  
      int indexOf​(java.lang.Object object)  
      int lastIndexOf​(java.lang.Object object)  
      • Methods inherited from class java.util.ArrayList

        add, add, addAll, addAll, clear, clone, ensureCapacity, equals, forEach, get, hashCode, isEmpty, iterator, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
      • Methods inherited from class java.util.AbstractCollection

        containsAll, toString
      • Methods inherited from class java.lang.Object

        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

        add, add, addAll, addAll, clear, containsAll, equals, get, hashCode, isEmpty, iterator, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
    • Constructor Detail

      • IdentityArrayList

        public IdentityArrayList()
      • IdentityArrayList

        @Deprecated(since="1811",
                    forRemoval=true)
        public IdentityArrayList​(java.util.Collection<? extends E> collection)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 1811. Not used anymore.
      • IdentityArrayList

        @Deprecated(since="1811",
                    forRemoval=true)
        public IdentityArrayList​(int initialCapacity)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 1811. Not used anymore.
    • Method Detail

      • contains

        public boolean contains​(java.lang.Object object)
        Specified by:
        contains in interface java.util.Collection<E>
        Specified by:
        contains in interface java.util.List<E>
        Overrides:
        contains in class java.util.ArrayList<E>
      • indexOf

        public int indexOf​(java.lang.Object object)
        Specified by:
        indexOf in interface java.util.List<E>
        Overrides:
        indexOf in class java.util.ArrayList<E>
      • lastIndexOf

        public int lastIndexOf​(java.lang.Object object)
        Specified by:
        lastIndexOf in interface java.util.List<E>
        Overrides:
        lastIndexOf in class java.util.ArrayList<E>