OrderedDictionary
public struct OrderedDictionary<KeyType, ValueType> where KeyType : Hashable
Undocumented
-
Undocumented
Declaration
Swift
public var count: Int { get }
-
Undocumented
Declaration
Swift
public init()
-
Undocumented
Declaration
Swift
public subscript(key: KeyType) -> ValueType? { get set }
-
Undocumented
Declaration
Swift
public subscript(index: Int) -> (KeyType, ValueType) { get }
-
Undocumented
Declaration
Swift
@discardableResult public mutating func removeValue(forKey key: KeyType) -> ValueType?
-
Undocumented
Declaration
Swift
public mutating func removeAll(keepingCapacity: Bool = false)
-
Undocumented
Declaration
Swift
@discardableResult mutating func insert(_ value: ValueType, forKey key: KeyType, atIndex index: Int) -> ValueType?
-
Undocumented
Declaration
Swift
@discardableResult mutating func remove(at index: Int) -> (KeyType, ValueType)