public class AlwaysEmptySet<T>
extends java.lang.Object
implements java.util.Set<T>
限定符和类型 | 字段和说明 |
---|---|
static java.util.Set |
EMPTY_SET |
限定符和类型 | 方法和说明 |
---|---|
boolean |
add(T t) |
boolean |
addAll(java.util.Collection<? extends T> c) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
static <T> java.util.Set<T> |
create() |
boolean |
isEmpty() |
java.util.Iterator<T> |
iterator() |
static <T> java.util.concurrent.Callable<java.util.Set<T>> |
provider() |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
int |
size() |
java.lang.Object[] |
toArray() |
<K> K[] |
toArray(K[] a) |
public static <T> java.util.Set<T> create()
public static <T> java.util.concurrent.Callable<java.util.Set<T>> provider()
public boolean isEmpty()
public boolean contains(java.lang.Object o)
public java.util.Iterator<T> iterator()
public java.lang.Object[] toArray()
public <K> K[] toArray(K[] a)
public boolean remove(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> c)
public boolean addAll(java.util.Collection<? extends T> c)
public boolean retainAll(java.util.Collection<?> c)
public boolean removeAll(java.util.Collection<?> c)