@Deprecated public class SingletonList<E> extends AbstractList<E>
modCount| Constructor and Description |
|---|
SingletonList(E o)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Object other)
Deprecated.
|
E |
get(int index)
Deprecated.
|
int |
size()
Deprecated.
|
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic SingletonList(E o)
public int size()
size in interface Collection<E>size in interface List<E>size in class AbstractCollection<E>public boolean contains(Object other)
contains in interface Collection<E>contains in interface List<E>contains in class AbstractCollection<E>Copyright © 2020 Soot OSS. All rights reserved.