gptkbp:instanceOf
|
gptkb:class
|
gptkbp:allowsNull
|
true
|
gptkbp:builtBy
|
HashSet()
HashSet(Collection<? extends E> c)
HashSet(int initialCapacity)
HashSet(int initialCapacity, float loadFactor)
|
gptkbp:definedIn
|
gptkb:Java_Collections_Framework
|
https://www.w3.org/2000/01/rdf-schema#label
|
HashSet class
|
gptkbp:implementedIn
|
gptkb:Set_interface
gptkb:Cloneable_interface
gptkb:Serializable_interface
|
gptkbp:introducedIn
|
gptkb:Java_1.2
|
gptkbp:language
|
gptkb:Java
|
gptkbp:method
|
clear()
clone()
size()
add(E e)
contains(Object o)
isEmpty()
iterator()
remove(Object o)
|
gptkbp:notAllowDuplicates
|
true
|
gptkbp:numberOfLocations
|
unique elements
|
gptkbp:orderGuaranteed
|
false
|
gptkbp:subclassOf
|
gptkb:AbstractSet_class
|
gptkbp:superclass
|
gptkb:AbstractSet_class
|
gptkbp:supportedBy
|
gptkb:HashMap
|
gptkbp:synchronized
|
false
|
gptkbp:threadSafe
|
false
|
gptkbp:timeComplexityAdd
|
O(1)
|
gptkbp:timeComplexityContains
|
O(1)
|
gptkbp:timeComplexityRemove
|
O(1)
|
gptkbp:type
|
java.util
|
gptkbp:usedFor
|
storing unique elements without order
|
gptkbp:bfsParent
|
gptkb:Collections_Framework
gptkb:Java_Collections
|
gptkbp:bfsLayer
|
7
|