public final class RecyclableArrayList extends ArrayList<Object>
null elements to be added.modCount| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Object element) |
boolean |
add(Object element) |
boolean |
addAll(Collection<?> c) |
boolean |
addAll(int index,
Collection<?> c) |
static RecyclableArrayList |
newInstance()
Create a new empty
RecyclableArrayList instance |
static RecyclableArrayList |
newInstance(int minCapacity)
Create a new empty
RecyclableArrayList instance with the given capacity. |
boolean |
recycle()
Clear and recycle this instance.
|
Object |
set(int index,
Object element) |
clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodepublic static RecyclableArrayList newInstance()
RecyclableArrayList instancepublic static RecyclableArrayList newInstance(int minCapacity)
RecyclableArrayList instance with the given capacity.public boolean addAll(Collection<?> c)
public boolean addAll(int index,
Collection<?> c)
public boolean add(Object element)
public void add(int index,
Object element)
public boolean recycle()
Copyright © 2008–2015 The Netty Project. All rights reserved.