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, removeAll
addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, spliterator, toArray, toArray
parallelStream, removeIf, stream
public 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 Iterable
iterator
in interface Collection
iterator
in interface Set
iterator
in class AbstractCollection
public int size()
size
in interface Collection
size
in interface Set
size
in class AbstractCollection
public boolean contains(Object o)
contains
in interface Collection
contains
in interface Set
contains
in class AbstractCollection
public boolean add(Object o)
add
in interface Collection
add
in interface Set
add
in class AbstractCollection
public boolean remove(Object o)
remove
in interface Collection
remove
in interface Set
remove
in class AbstractCollection
public void clear()
clear
in interface Collection
clear
in interface Set
clear
in class AbstractCollection
Copyright © 2017 com.mchange. All rights reserved.