public class EmptyArrayList extends ArrayList
| Modifier and Type | Field and Description |
|---|---|
static EmptyArrayList |
INSTANCE |
modCount| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Object element) |
boolean |
add(Object o) |
boolean |
addAll(Collection c) |
boolean |
addAll(int index,
Collection c) |
void |
clear() |
void |
ensureCapacity(int minCapacity) |
Object |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection c) |
protected void |
removeRange(int fromIndex,
int toIndex) |
boolean |
retainAll(Collection c) |
Object |
set(int index,
Object element) |
void |
trimToSize() |
clone, contains, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeIf, replaceAll, size, sort, spliterator, subList, toArray, toArrayequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic static final EmptyArrayList INSTANCE
public void add(int index,
Object element)
public boolean add(Object o)
public boolean addAll(Collection c)
public boolean addAll(int index,
Collection c)
public void ensureCapacity(int minCapacity)
ensureCapacity in class ArrayListpublic void clear()
public Object remove(int index)
public boolean remove(Object o)
protected void removeRange(int fromIndex,
int toIndex)
removeRange in class ArrayListpublic void trimToSize()
trimToSize in class ArrayListpublic boolean removeAll(Collection c)
public boolean retainAll(Collection c)
Copyright © 2005–2016 jibx.org. All rights reserved.