No overview available.
SDK
- Xcode 10.2+
Framework
- Swift Standard Library
Declaration
@discardableResult mutating func update<ConcreteElement>(with newMember: ConcreteElement) -> ConcreteElement? where ConcreteElement : Hashable
No overview available.
SDK
Framework
@discardableResult mutating func update<ConcreteElement>(with newMember: ConcreteElement) -> ConcreteElement? where ConcreteElement : Hashable
func insert(Element) -> (inserted: Bool, memberAfterInsert : Element)Inserts the given element in the set if it is not already present.
func update(with: Element) -> Element?Inserts the given element into the set unconditionally.
func reserveCapacity (Int)Reserves enough space to store the specified number of elements.