public class ListDelegate
extends java.lang.Object
implements java.util.List<java.lang.Object>
Constructor and Description |
---|
ListDelegate() |
Modifier and Type | Method and Description |
---|---|
void |
add(int i,
java.lang.Object e) |
boolean |
add(java.lang.Object e) |
boolean |
addAll(java.util.Collection<? extends java.lang.Object> clctn) |
boolean |
addAll(int i,
java.util.Collection<? extends java.lang.Object> clctn) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> clctn) |
java.lang.Object |
get(int i) |
int |
indexOf(java.lang.Object o) |
boolean |
isEmpty() |
java.util.Iterator<java.lang.Object> |
iterator() |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator<java.lang.Object> |
listIterator() |
java.util.ListIterator<java.lang.Object> |
listIterator(int i) |
java.lang.Object |
remove(int i) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> clctn) |
boolean |
retainAll(java.util.Collection<?> clctn) |
java.lang.Object |
set(int i,
java.lang.Object e) |
void |
setDelegate(java.util.List<java.lang.Object> delegate) |
int |
size() |
java.util.List<java.lang.Object> |
subList(int i,
int i1) |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] ts) |
public void setDelegate(java.util.List<java.lang.Object> delegate)
public int size()
size
in interface java.util.Collection<java.lang.Object>
size
in interface java.util.List<java.lang.Object>
public boolean isEmpty()
isEmpty
in interface java.util.Collection<java.lang.Object>
isEmpty
in interface java.util.List<java.lang.Object>
public boolean contains(java.lang.Object o)
contains
in interface java.util.Collection<java.lang.Object>
contains
in interface java.util.List<java.lang.Object>
public java.util.Iterator<java.lang.Object> iterator()
iterator
in interface java.lang.Iterable<java.lang.Object>
iterator
in interface java.util.Collection<java.lang.Object>
iterator
in interface java.util.List<java.lang.Object>
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection<java.lang.Object>
toArray
in interface java.util.List<java.lang.Object>
public <T> T[] toArray(T[] ts)
toArray
in interface java.util.Collection<java.lang.Object>
toArray
in interface java.util.List<java.lang.Object>
public boolean add(java.lang.Object e)
add
in interface java.util.Collection<java.lang.Object>
add
in interface java.util.List<java.lang.Object>
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection<java.lang.Object>
remove
in interface java.util.List<java.lang.Object>
public boolean containsAll(java.util.Collection<?> clctn)
containsAll
in interface java.util.Collection<java.lang.Object>
containsAll
in interface java.util.List<java.lang.Object>
public boolean addAll(java.util.Collection<? extends java.lang.Object> clctn)
addAll
in interface java.util.Collection<java.lang.Object>
addAll
in interface java.util.List<java.lang.Object>
public boolean addAll(int i, java.util.Collection<? extends java.lang.Object> clctn)
addAll
in interface java.util.List<java.lang.Object>
public boolean removeAll(java.util.Collection<?> clctn)
removeAll
in interface java.util.Collection<java.lang.Object>
removeAll
in interface java.util.List<java.lang.Object>
public boolean retainAll(java.util.Collection<?> clctn)
retainAll
in interface java.util.Collection<java.lang.Object>
retainAll
in interface java.util.List<java.lang.Object>
public void clear()
clear
in interface java.util.Collection<java.lang.Object>
clear
in interface java.util.List<java.lang.Object>
public java.lang.Object get(int i)
get
in interface java.util.List<java.lang.Object>
public java.lang.Object set(int i, java.lang.Object e)
set
in interface java.util.List<java.lang.Object>
public void add(int i, java.lang.Object e)
add
in interface java.util.List<java.lang.Object>
public java.lang.Object remove(int i)
remove
in interface java.util.List<java.lang.Object>
public int indexOf(java.lang.Object o)
indexOf
in interface java.util.List<java.lang.Object>
public int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List<java.lang.Object>
public java.util.ListIterator<java.lang.Object> listIterator()
listIterator
in interface java.util.List<java.lang.Object>
public java.util.ListIterator<java.lang.Object> listIterator(int i)
listIterator
in interface java.util.List<java.lang.Object>
public java.util.List<java.lang.Object> subList(int i, int i1)
subList
in interface java.util.List<java.lang.Object>