public class IdHashSet extends AbstractSet implements Set
| Constructor and Description |
|---|
IdHashSet(Collection c,
Identicator id) |
IdHashSet(Identicator id) |
IdHashSet(int initialCapacity,
float loadFactor,
Identicator id) |
IdHashSet(int initialCapacity,
Identicator id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Object o) |
void |
clear() |
boolean |
contains(Object o) |
Iterator |
iterator() |
boolean |
remove(Object o) |
int |
size() |
equals, hashCode, removeAlladdAll, containsAll, isEmpty, retainAll, toArray, toArray, toStringpublic IdHashSet(Identicator id)
public IdHashSet(Collection c, Identicator id)
public IdHashSet(int initialCapacity,
float loadFactor,
Identicator id)
public IdHashSet(int initialCapacity,
Identicator id)
public Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in interface Setiterator in class AbstractCollectionpublic int size()
size in interface Collectionsize in interface Setsize in class AbstractCollectionpublic boolean contains(Object o)
contains in interface Collectioncontains in interface Setcontains in class AbstractCollectionpublic boolean add(Object o)
add in interface Collectionadd in interface Setadd in class AbstractCollectionpublic boolean remove(Object o)
remove in interface Collectionremove in interface Setremove in class AbstractCollectionpublic void clear()
clear in interface Collectionclear in interface Setclear in class AbstractCollection