Class PZArrayList

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList
zombie.util.list.PZArrayList
All Implemented Interfaces:
java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public final class PZArrayList
extends java.util.AbstractList
implements java.util.List, java.util.RandomAccess
  • Field Summary

    Fields inherited from class java.util.AbstractList

    modCount
  • Constructor Summary

    Constructors
    Constructor Description
    PZArrayList​(java.lang.Class javaClass, int int1)  
  • Method Summary

    Modifier and Type Method Description
    void add​(int int1, java.lang.Object object)  
    boolean add​(java.lang.Object object)  
    void clear()  
    boolean contains​(java.lang.Object object)  
    java.lang.Object get​(int int1)  
    java.lang.Object[] getElements()  
    int indexOf​(java.lang.Object object)  
    boolean isEmpty()  
    java.util.Iterator iterator()  
    java.util.ListIterator listIterator()  
    java.util.ListIterator listIterator​(int int1)  
    java.lang.Object remove​(int int1)  
    boolean remove​(java.lang.Object object)  
    java.lang.Object set​(int int1, java.lang.Object object)  
    int size()  
    java.lang.String toString()  

    Methods inherited from class java.util.AbstractList

    addAll, equals, hashCode, lastIndexOf, removeRange, subList

    Methods inherited from class java.util.AbstractCollection

    addAll, containsAll, removeAll, retainAll, toArray, toArray

    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, addAll, containsAll, equals, hashCode, lastIndexOf, removeAll, replaceAll, retainAll, sort, spliterator, subList, toArray, toArray
  • Constructor Details

    • PZArrayList

      public PZArrayList​(java.lang.Class javaClass, int int1)
  • Method Details

    • get

      public java.lang.Object get​(int int1)
      Specified by:
      get in interface java.util.List
      Specified by:
      get in class java.util.AbstractList
    • 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
    • indexOf

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

      public boolean isEmpty()
      Specified by:
      isEmpty in interface java.util.Collection
      Specified by:
      isEmpty in interface java.util.List
      Overrides:
      isEmpty in class java.util.AbstractCollection
    • contains

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

      public java.util.Iterator iterator()
      Specified by:
      iterator in interface java.util.Collection
      Specified by:
      iterator in interface java.lang.Iterable
      Specified by:
      iterator in interface java.util.List
      Overrides:
      iterator in class java.util.AbstractList
    • listIterator

      public java.util.ListIterator listIterator()
      Specified by:
      listIterator in interface java.util.List
      Overrides:
      listIterator in class java.util.AbstractList
    • listIterator

      public java.util.ListIterator listIterator​(int int1)
      Specified by:
      listIterator in interface java.util.List
      Overrides:
      listIterator in class java.util.AbstractList
    • 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
    • remove

      public boolean remove​(java.lang.Object object)
      Specified by:
      remove in interface java.util.Collection
      Specified by:
      remove in interface java.util.List
      Overrides:
      remove in class java.util.AbstractCollection
    • 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
    • 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
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.util.AbstractCollection
    • getElements

      public java.lang.Object[] getElements()