OrderedDictionary
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
@@TODO: I’m not sure whether to mark this
mutating
or not. I don’t technically have to because it updates a pointer to aLinkedListNode
, but that’s an implementation detail, so I really oughta pretend it’s not the case. Right?Declaration
Swift
public mutating func updateElement(element:Element, atIndex index:Index)
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
This is often the simplest method for iterating over the contents of the
OrderedDictionary
in order.sequence()
returns a sequence whose elements are key-value pairs. The sequence’s order is the same as theOrderedDictionary
.Declaration
Swift
public func sequence() -> SequenceOf<(Key, Value)>