java.lang.Iterable<K>
, java.util.Collection<K>
, java.util.Set<K>
public class SafeChildSet<K>
extends java.lang.Object
implements java.util.Set<K>
Constructor | Description |
---|---|
SafeChildSet(java.util.Set<K> set,
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 SafeChildSet(java.util.Set<K> set, SafeCollectionHost host)
public int size()
public boolean isEmpty()
public boolean contains(java.lang.Object o)
public java.util.Iterator<K> iterator()
public java.lang.Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean add(K e)
public boolean remove(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> c)
public boolean addAll(java.util.Collection<? extends K> c)
public boolean retainAll(java.util.Collection<?> c)
public boolean removeAll(java.util.Collection<?> c)