java.lang.Iterable<K>
, java.util.Collection<K>
public class SafeChildCollection<K>
extends java.lang.Object
implements java.util.Collection<K>
Constructor | Description |
---|---|
SafeChildCollection(java.util.Collection<K> collection,
SafeCollectionHost host) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
add(K e) |
|
boolean |
addAll(java.util.Collection<? extends K> c) |
|
void |
clear() |
|
boolean |
contains(java.lang.Object o) |
|
boolean |
containsAll(java.util.Collection<?> c) |
|
boolean |
isEmpty() |
|
java.util.Iterator<K> |
iterator() |
|
boolean |
remove(java.lang.Object o) |
|
boolean |
removeAll(java.util.Collection<?> c) |
|
boolean |
retainAll(java.util.Collection<?> c) |
|
int |
size() |
|
java.lang.Object[] |
toArray() |
|
<T> T[] |
toArray(T[] a) |
public SafeChildCollection(java.util.Collection<K> collection, SafeCollectionHost host)
public int size()
size
in interface java.util.Collection<K>
public boolean isEmpty()
isEmpty
in interface java.util.Collection<K>
public boolean contains(java.lang.Object o)
contains
in interface java.util.Collection<K>
public java.util.Iterator<K> iterator()
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection<K>
public <T> T[] toArray(T[] a)
toArray
in interface java.util.Collection<K>
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection<K>
public boolean containsAll(java.util.Collection<?> c)
containsAll
in interface java.util.Collection<K>
public boolean addAll(java.util.Collection<? extends K> c)
addAll
in interface java.util.Collection<K>
public boolean removeAll(java.util.Collection<?> c)
removeAll
in interface java.util.Collection<K>
public boolean retainAll(java.util.Collection<?> c)
retainAll
in interface java.util.Collection<K>
public void clear()
clear
in interface java.util.Collection<K>