Class ObjectArrayList

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList
zombie.core.physics.ObjectArrayList
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public final class ObjectArrayList
extends java.util.AbstractList
implements java.util.RandomAccess, java.io.Externalizable
See Also:
Serialized Form
  • Field Summary

    Fields inherited from class java.util.AbstractList

    modCount
  • Constructor Summary

    Constructors
    Constructor Description
    ObjectArrayList()  
    ObjectArrayList​(int int1)  
  • Method Summary

    Modifier and Type Method Description
    void add​(int int1, java.lang.Object object)  
    boolean add​(java.lang.Object object)  
    int capacity()  
    void clear()  
    java.lang.Object get​(int int1)  
    java.lang.Object getQuick​(int int1)  
    int indexOf​(java.lang.Object object)  
    void readExternal​(java.io.ObjectInput objectInput)  
    java.lang.Object remove​(int int1)  
    void removeQuick​(int int1)  
    java.lang.Object set​(int int1, java.lang.Object object)  
    void setQuick​(int int1, java.lang.Object object)  
    int size()  
    void writeExternal​(java.io.ObjectOutput objectOutput)  

    Methods inherited from class java.util.AbstractList

    addAll, equals, hashCode, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList

    Methods inherited from class java.util.AbstractCollection

    addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, 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.List

    addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
  • Constructor Details

    • ObjectArrayList

      public ObjectArrayList()
    • ObjectArrayList

      public ObjectArrayList​(int int1)
  • Method Details

    • add

      public boolean add​(java.lang.Object object)
      Specified by:
      add in interface java.util.Collection
      Specified by:
      add in interface java.util.List
      Overrides:
      add in class java.util.AbstractList
    • add

      public void add​(int int1, java.lang.Object object)
      Specified by:
      add in interface java.util.List
      Overrides:
      add in class java.util.AbstractList
    • remove

      public java.lang.Object remove​(int int1)
      Specified by:
      remove in interface java.util.List
      Overrides:
      remove in class java.util.AbstractList
    • removeQuick

      public void removeQuick​(int int1)
    • get

      public java.lang.Object get​(int int1)
      Specified by:
      get in interface java.util.List
      Specified by:
      get in class java.util.AbstractList
    • getQuick

      public java.lang.Object getQuick​(int int1)
    • set

      public java.lang.Object set​(int int1, java.lang.Object object)
      Specified by:
      set in interface java.util.List
      Overrides:
      set in class java.util.AbstractList
    • setQuick

      public void setQuick​(int int1, java.lang.Object object)
    • size

      public int size()
      Specified by:
      size in interface java.util.Collection
      Specified by:
      size in interface java.util.List
      Specified by:
      size in class java.util.AbstractCollection
    • capacity

      public int capacity()
    • clear

      public void clear()
      Specified by:
      clear in interface java.util.Collection
      Specified by:
      clear in interface java.util.List
      Overrides:
      clear in class java.util.AbstractList
    • indexOf

      public int indexOf​(java.lang.Object object)
      Specified by:
      indexOf in interface java.util.List
      Overrides:
      indexOf in class java.util.AbstractList
    • writeExternal

      public void writeExternal​(java.io.ObjectOutput objectOutput) throws java.io.IOException
      Specified by:
      writeExternal in interface java.io.Externalizable
      Throws:
      java.io.IOException
    • readExternal

      public void readExternal​(java.io.ObjectInput objectInput) throws java.io.IOException, java.lang.ClassNotFoundException
      Specified by:
      readExternal in interface java.io.Externalizable
      Throws:
      java.io.IOException
      java.lang.ClassNotFoundException