public class IdentityHashSet<E>
extends java.lang.Object
implements java.util.Set<E>
Constructor and Description |
---|
IdentityHashSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E element) |
boolean |
addAll(java.util.Collection<? extends E> elements) |
void |
clear() |
boolean |
contains(java.lang.Object element) |
boolean |
containsAll(java.util.Collection<?> elements) |
boolean |
isEmpty() |
java.util.Iterator<E> |
iterator() |
boolean |
remove(java.lang.Object element) |
boolean |
removeAll(java.util.Collection<?> elements) |
boolean |
retainAll(java.util.Collection<?> elements) |
int |
size() |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] dummy) |
java.lang.String |
toString() |
public boolean add(E element)
public boolean addAll(java.util.Collection<? extends E> elements)
public void clear()
public boolean contains(java.lang.Object element)
public boolean containsAll(java.util.Collection<?> elements)
public boolean isEmpty()
public java.util.Iterator<E> iterator()
public boolean remove(java.lang.Object element)
public boolean removeAll(java.util.Collection<?> elements)
public boolean retainAll(java.util.Collection<?> elements)
public int size()
public java.lang.Object[] toArray()
public <T> T[] toArray(T[] dummy)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2017 The Apache Software Foundation