Package zombie.core.physics
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 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
-
removeQuick
public void removeQuick(int int1) -
get
public java.lang.Object get(int int1)- Specified by:
get
in interfacejava.util.List
- Specified by:
get
in classjava.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 interfacejava.util.List
- Overrides:
set
in classjava.util.AbstractList
-
setQuick
public void setQuick(int int1, java.lang.Object object) -
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
-
capacity
public int capacity() -
clear
public void clear()- Specified by:
clear
in interfacejava.util.Collection
- Specified by:
clear
in interfacejava.util.List
- Overrides:
clear
in classjava.util.AbstractList
-
indexOf
public int indexOf(java.lang.Object object)- Specified by:
indexOf
in interfacejava.util.List
- Overrides:
indexOf
in classjava.util.AbstractList
-
writeExternal
public void writeExternal(java.io.ObjectOutput objectOutput) throws java.io.IOException- Specified by:
writeExternal
in interfacejava.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 interfacejava.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-