Module net.anwiba.commons.lang
Package net.anwiba.commons.lang.hashable
Class HashableSet<V extends IHashable>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<V>
net.anwiba.commons.lang.hashable.HashableSet<V>
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<V>,Collection<V>,Set<V>
public final class HashableSet<V extends IHashable>
extends AbstractSet<V>
implements Serializable, Cloneable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHashableSet(int initialCapacity) HashableSet(int initialCapacity, float loadFactor) -
Method Summary
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
addAll, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
HashableSet
public HashableSet() -
HashableSet
public HashableSet(int initialCapacity) -
HashableSet
public HashableSet(int initialCapacity, float loadFactor)
-
-
Method Details
-
size
public int size() -
contains
-
iterator
-
add
-
remove
-
clear
public void clear() -
clone
-