public class ConsList extends AbstractList<Object>
modCount| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Object element) |
Object |
get(int i) |
int |
size() |
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic Object get(int i)
public int size()
size in interface Collection<Object>size in interface List<Object>size in class AbstractCollection<Object>Copyright © 2022 The Apache Software Foundation. All rights reserved.