T
- the type yielded by the iterator (if it ever yielded any)public class EmptyList<T>
extends java.util.AbstractList<T>
Constructor and Description |
---|
EmptyList() |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
T |
get(int index) |
boolean |
isEmpty() |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public T get(int index)
public int size()
public boolean isEmpty()
public boolean contains(java.lang.Object o)