Package zombie.util.list
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 interfacejava.util.List
- Specified by:
get
in classjava.util.AbstractList
-
size
public int size()- Specified by:
size
in interfacejava.util.Collection
- Specified by:
size
in interfacejava.util.List
- Specified by:
size
in classjava.util.AbstractCollection
-
indexOf
public int indexOf(java.lang.Object object)- Specified by:
indexOf
in interfacejava.util.List
- Overrides:
indexOf
in classjava.util.AbstractList
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfacejava.util.Collection
- Specified by:
isEmpty
in interfacejava.util.List
- Overrides:
isEmpty
in classjava.util.AbstractCollection
-
contains
public boolean contains(java.lang.Object object)- Specified by:
contains
in interfacejava.util.Collection
- Specified by:
contains
in interfacejava.util.List
- Overrides:
contains
in classjava.util.AbstractCollection
-
iterator
public java.util.Iterator iterator()- Specified by:
iterator
in interfacejava.util.Collection
- Specified by:
iterator
in interfacejava.lang.Iterable
- Specified by:
iterator
in interfacejava.util.List
- Overrides:
iterator
in classjava.util.AbstractList
-
listIterator
public java.util.ListIterator listIterator()- Specified by:
listIterator
in interfacejava.util.List
- Overrides:
listIterator
in classjava.util.AbstractList
-
listIterator
public java.util.ListIterator listIterator(int int1)- Specified by:
listIterator
in interfacejava.util.List
- Overrides:
listIterator
in classjava.util.AbstractList
-
add
public boolean add(java.lang.Object object)- Specified by:
add
in interfacejava.util.Collection
- Specified by:
add
in interfacejava.util.List
- Overrides:
add
in classjava.util.AbstractList
-
add
public void add(int int1, java.lang.Object object)- Specified by:
add
in interfacejava.util.List
- Overrides:
add
in classjava.util.AbstractList
-
remove
public java.lang.Object remove(int int1)- Specified by:
remove
in interfacejava.util.List
- Overrides:
remove
in classjava.util.AbstractList
-
remove
public boolean remove(java.lang.Object object)- Specified by:
remove
in interfacejava.util.Collection
- Specified by:
remove
in interfacejava.util.List
- Overrides:
remove
in classjava.util.AbstractCollection
-
set
public java.lang.Object set(int int1, java.lang.Object object)- Specified by:
set
in interfacejava.util.List
- Overrides:
set
in classjava.util.AbstractList
-
clear
public void clear()- Specified by:
clear
in interfacejava.util.Collection
- Specified by:
clear
in interfacejava.util.List
- Overrides:
clear
in classjava.util.AbstractList
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.util.AbstractCollection
-
getElements
public java.lang.Object[] getElements()
-