Constructor and Description |
---|
ListDelegate() |
Modifier and Type | Method and Description |
---|---|
void |
add(int i,
Object e) |
boolean |
add(Object e) |
boolean |
addAll(Collection<?> clctn) |
boolean |
addAll(int i,
Collection<?> clctn) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> clctn) |
Object |
get(int i) |
List<Object> |
getDelegate() |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<Object> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<Object> |
listIterator() |
ListIterator<Object> |
listIterator(int i) |
Object |
remove(int i) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> clctn) |
boolean |
retainAll(Collection<?> clctn) |
Object |
set(int i,
Object e) |
void |
setDelegate(List<Object> delegate) |
int |
size() |
List<Object> |
subList(int i,
int i1) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] ts) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, replaceAll, sort, spliterator
parallelStream, removeIf, stream
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
public <T> T[] toArray(T[] ts)
public boolean add(Object e)
public boolean remove(Object o)
public boolean containsAll(Collection<?> clctn)
containsAll
in interface Collection<Object>
containsAll
in interface List<Object>
public boolean addAll(Collection<?> clctn)
public boolean addAll(int i, Collection<?> clctn)
public boolean removeAll(Collection<?> clctn)
public boolean retainAll(Collection<?> clctn)
public void clear()
public int lastIndexOf(Object o)
lastIndexOf
in interface List<Object>
public ListIterator<Object> listIterator()
listIterator
in interface List<Object>
public ListIterator<Object> listIterator(int i)
listIterator
in interface List<Object>
Copyright © 2022 The Apache Software Foundation. All rights reserved.