public class IdentityHashSet<E>
extends java.util.AbstractSet<E>
implements java.util.Set<E>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.IdentityHashMap<E,E> |
delegate |
| Constructor and Description |
|---|
IdentityHashSet()
Creates a new, empty IdentityHashSet.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E o) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.util.Iterator<E> |
iterator() |
boolean |
remove(java.lang.Object o) |
int |
size() |
java.lang.String |
toString() |
addAll, containsAll, isEmpty, retainAll, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic int size()
public boolean contains(java.lang.Object o)
public java.util.Iterator<E> iterator()
public boolean add(E o)
public boolean remove(java.lang.Object o)
public void clear()
public int hashCode()
public boolean equals(java.lang.Object obj)
public java.lang.String toString()
toString in class java.util.AbstractCollection<E>Copyright © 2012-2019 RoboVM AB. All Rights Reserved.