E
- the element typepublic class EmptySet<E>
extends java.lang.Object
implements java.util.Set<E>
Constructor and Description |
---|
EmptySet() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E e)
Adds the.
|
boolean |
addAll(java.util.Collection<? extends E> c)
Adds the all.
|
void |
clear()
Clear.
|
boolean |
contains(java.lang.Object o)
Contains.
|
boolean |
containsAll(java.util.Collection<?> c)
Contains all.
|
boolean |
isEmpty()
Checks if is empty.
|
java.util.Iterator<E> |
iterator()
Iterator.
|
static <E> java.util.Set<E> |
newInstance()
New instance.
|
boolean |
remove(java.lang.Object o)
Removes the.
|
boolean |
removeAll(java.util.Collection<?> c)
Removes the all.
|
boolean |
retainAll(java.util.Collection<?> c)
Retain all.
|
int |
size()
Size.
|
java.lang.Object[] |
toArray()
To array.
|
<T> T[] |
toArray(T[] a)
To array.
|
public int size()
public boolean isEmpty()
public boolean contains(java.lang.Object o)
public java.util.Iterator<E> iterator()
public java.lang.Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean add(E e)
public boolean remove(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> c)
public boolean addAll(java.util.Collection<? extends E> c)
public boolean retainAll(java.util.Collection<?> c)
public boolean removeAll(java.util.Collection<?> c)
public void clear()
public static <E> java.util.Set<E> newInstance()
E
- the element typeCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa