Dictionary (Swift)

E770631

Dictionary (Swift) is a generic key-value collection type in the Swift programming language that stores associations between unique keys and their corresponding values.

All labels observed (2)

Label Occurrences
Dictionary (Swift type) 1
Dictionary (Swift) canonical 1

How this entity was disambiguated

Statements (51)

Predicate Object
instanceOf Swift standard library type ⓘ
generic collection type ⓘ
key-value collection ⓘ
accessComplexity average O(1) lookup by key ⓘ
conformsTo Collection ⓘ
CustomDebugStringConvertible ⓘ
CustomStringConvertible ⓘ
ExpressibleByDictionaryLiteral ⓘ
MutableCollection ⓘ
RandomAccessCollection ⓘ
Sequence ⓘ
defaultImplementationDetail hash table based ⓘ
definedInLanguage Swift ⓘ
documentationURL https://developer.apple.com/documentation/swift/dictionary ⓘ
genericParameter Key ⓘ
Value ⓘ
hasInitializer init() ⓘ
init(grouping:by:) ⓘ
init(minimumCapacity: Int) ⓘ
init(uniqueKeysWithValues:) ⓘ
hasMethod compactMapValues(_:) ⓘ
filter(_:) ⓘ
mapValues(_:) ⓘ
merge(_:uniquingKeysWith:) ⓘ
merging(_:uniquingKeysWith:) ⓘ
removeValue(forKey:) ⓘ
updateValue(_:forKey:) ⓘ
hasProperty count ⓘ
isEmpty ⓘ
keys ⓘ
values ⓘ
introducedInVersion Swift 1.0 ⓘ
keyRequirement Key must be Hashable ⓘ
keyUniqueness keys are unique ⓘ
literalSyntax [key: value, key2: value2] ⓘ
module Swift Standard Library ⓘ
mutationComplexity average O(1) insertion by key ⓘ
namespace global in Swift module ⓘ
ordering does not guarantee key order ⓘ
relatedType Array (Swift) ⓘ
Set (Swift) ⓘ
requiresKeyConformance Hashable ⓘ
stores associations between unique keys and values ⓘ
supportsMutation insertion ⓘ
removal ⓘ
update ⓘ
supportsSubscript subscript(key: Key) -> Value? ⓘ
subscript(key: Key, default defaultValue: @autoclosure () -> Value) -> Value ⓘ
syntax Dictionary<Key, Value> ⓘ
[Key: Value] ⓘ
valueMultiplicity values may be duplicated ⓘ

How these facts were elicited

Referenced by (2)

Full triples — surface form annotated when it differs from this entity's canonical label.

Foundation framework → includes → Dictionary (Swift) ⓘ
Sequence (Swift protocol) → conformedToBy → Dictionary (Swift type) ⓘ
subject linked to: Sequence
linked to: Dictionary (Swift)