gptkbp:instanceOf
|
gptkb:class
|
gptkbp:allowsNullElements
|
true
|
gptkbp:alternativeTo
|
gptkb:TreeSet
gptkb:LinkedHashSet
|
gptkbp:builtBy
|
HashSet()
HashSet(int initialCapacity)
HashSet(int initialCapacity, float loadFactor)
HashSet(Collection<? extends T> c)
|
gptkbp:definedIn
|
gptkb:Java_Collections_Framework
|
gptkbp:duplicatesAllowed
|
false
|
gptkbp:equivalentTo
|
Set equality
|
gptkbp:extendsTo
|
AbstractSet<T>
|
gptkbp:genericTypeParameter
|
T
|
gptkbp:hashCode
|
sum of hash codes of elements
|
https://www.w3.org/2000/01/rdf-schema#label
|
HashSet<T>
|
gptkbp:implementedIn
|
Set<T>
|
gptkbp:introducedIn
|
gptkb:Java_1.2
|
gptkbp:isNotSynchronized
|
true
|
gptkbp:iteratorFailFast
|
true
|
gptkbp:method
|
clear()
clone()
size()
contains(Object o)
isEmpty()
iterator()
remove(Object o)
toArray()
add(T e)
|
gptkbp:orderGuaranteed
|
false
|
gptkbp:serialization
|
true
|
gptkbp:supportedBy
|
gptkb:HashMap
|
gptkbp:threadSafe
|
false
|
gptkbp:timeComplexityAdd
|
O(1)
|
gptkbp:timeComplexityContains
|
O(1)
|
gptkbp:timeComplexityRemove
|
O(1)
|
gptkbp:type
|
java.util
|
gptkbp:usedFor
|
storing unique elements
|
gptkbp:usedIn
|
Java programming
|
gptkbp:bfsParent
|
gptkb:System.Collections.Generic
|
gptkbp:bfsLayer
|
7
|