java.lang.Iterable<T>
, java.util.Collection<T>
, java.util.List<T>
public class WeakLinkSetList<T>
extends java.lang.Object
implements java.util.List<T>
Constructor | Description |
---|---|
WeakLinkSetList() |
|
WeakLinkSetList(java.util.Collection<T> c) |
Modifier and Type | Method | Description |
---|---|---|
void |
add(int index,
T element) |
|
boolean |
add(T element) |
|
boolean |
addAll(int index,
java.util.Collection<? extends T> c) |
|
boolean |
addAll(java.util.Collection<? extends T> c) |
|
void |
clear() |
|
boolean |
contains(java.lang.Object element) |
|
boolean |
containsAll(java.util.Collection<?> c) |
|
T |
get(int index) |
|
int |
indexOf(java.lang.Object o) |
|
boolean |
isEmpty() |
|
java.util.Iterator<T> |
iterator() |
|
int |
lastIndexOf(java.lang.Object o) |
|
java.util.ListIterator<T> |
listIterator() |
|
java.util.ListIterator<T> |
listIterator(int index) |
|
T |
remove(int index) |
|
boolean |
remove(java.lang.Object element) |
|
boolean |
removeAll(java.util.Collection<?> c) |
|
boolean |
retainAll(java.util.Collection<?> c) |
|
T |
set(int index,
T element) |
|
int |
size() |
|
java.util.List<T> |
subList(int fromIndex,
int toIndex) |
|
java.lang.Object[] |
toArray() |
|
<K> K[] |
toArray(K[] a) |
public WeakLinkSetList()
public WeakLinkSetList(java.util.Collection<T> c)
public boolean add(T element)
public boolean remove(java.lang.Object element)
public java.util.Iterator<T> iterator()
public int size()
public boolean contains(java.lang.Object element)
public boolean isEmpty()
public java.lang.Object[] toArray()
public <K> K[] toArray(K[] a)
public boolean containsAll(java.util.Collection<?> c)
public boolean addAll(java.util.Collection<? extends T> c)
public boolean addAll(int index, java.util.Collection<? extends T> c)
addAll
in interface java.util.List<T>
public boolean removeAll(java.util.Collection<?> c)
public boolean retainAll(java.util.Collection<?> c)
public void clear()
public int indexOf(java.lang.Object o)
indexOf
in interface java.util.List<T>
public int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List<T>
public java.util.ListIterator<T> listIterator()
listIterator
in interface java.util.List<T>
public java.util.ListIterator<T> listIterator(int index)
listIterator
in interface java.util.List<T>