public class IdentitySet extends Object implements Set
IdentityHashMap
Constructor and Description |
---|
IdentitySet() |
IdentitySet(int size) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Object o) |
boolean |
addAll(Collection c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection c) |
boolean |
isEmpty() |
Iterator |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection c) |
boolean |
retainAll(Collection c) |
int |
size() |
Object[] |
toArray() |
Object[] |
toArray(Object[] a) |
String |
toString() |
public int size()
size
in interface Collection
size
in interface Set
public boolean isEmpty()
isEmpty
in interface Collection
isEmpty
in interface Set
public boolean contains(Object o)
contains
in interface Collection
contains
in interface Set
public Iterator iterator()
public Object[] toArray()
toArray
in interface Collection
toArray
in interface Set
public boolean add(Object o)
add
in interface Collection
add
in interface Set
public boolean remove(Object o)
remove
in interface Collection
remove
in interface Set
public boolean addAll(Collection c)
addAll
in interface Collection
addAll
in interface Set
public void clear()
clear
in interface Collection
clear
in interface Set
public boolean removeAll(Collection c)
removeAll
in interface Collection
removeAll
in interface Set
public boolean retainAll(Collection c)
retainAll
in interface Collection
retainAll
in interface Set
public boolean containsAll(Collection c)
containsAll
in interface Collection
containsAll
in interface Set
public Object[] toArray(Object[] a)
toArray
in interface Collection
toArray
in interface Set
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved