public class IdentityHashSet<E> extends AbstractSet<E>
IdentityHashMap
-backed Set
.Constructor and Description |
---|
IdentityHashSet() |
IdentityHashSet(Collection<E> c) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E arg0) |
void |
clear() |
boolean |
contains(Object o) |
Iterator<E> |
iterator() |
boolean |
remove(Object o) |
int |
size() |
equals, hashCode, removeAll
addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString
public IdentityHashSet()
public IdentityHashSet(Collection<E> c)
public int size()
size
in interface Collection<E>
size
in interface Set<E>
size
in class AbstractCollection<E>
public boolean contains(Object o)
contains
in interface Collection<E>
contains
in interface Set<E>
contains
in class AbstractCollection<E>
public boolean add(E arg0)
add
in interface Collection<E>
add
in interface Set<E>
add
in class AbstractCollection<E>
public boolean remove(Object o)
remove
in interface Collection<E>
remove
in interface Set<E>
remove
in class AbstractCollection<E>
public void clear()
clear
in interface Collection<E>
clear
in interface Set<E>
clear
in class AbstractCollection<E>
Copyright © 2004–2014 Apache MINA Project. All rights reserved.