java.lang.Iterable<K>
, java.util.Collection<K>
, java.util.Set<K>
public class ReadOnlyListSet<K>
extends java.lang.Object
implements java.util.Set<K>
Constructor | Description |
---|---|
ReadOnlyListSet() |
|
ReadOnlyListSet(java.util.Set<K> s) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
add(K e) |
|
boolean |
addAll(java.util.Collection<? extends K> c) |
|
void |
clear() |
|
boolean |
contains(java.lang.Object arg0) |
|
boolean |
containsAll(java.util.Collection<?> arg0) |
|
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[] arg0) |
public ReadOnlyListSet()
public ReadOnlyListSet(java.util.Set<K> s)
public boolean add(K e)
public boolean addAll(java.util.Collection<? extends K> c)
public void clear()
public boolean contains(java.lang.Object arg0)
public boolean containsAll(java.util.Collection<?> arg0)
public boolean isEmpty()
public java.util.Iterator<K> iterator()
public boolean remove(java.lang.Object o)
public boolean removeAll(java.util.Collection<?> c)
public boolean retainAll(java.util.Collection<?> c)
public int size()
public java.lang.Object[] toArray()