NSHashInsertKnownAbsent(_:_:)
Adds an element to the specified hash table.
Declaration
func NSHashInsertKnownAbsent(_ table: NSHashTable<AnyObject>, _ pointer: UnsafeRawPointer?)Discussion
Inserts pointer, which must not be NULL, into table. Unlike NSHashInsert, this function raises NSInvalidArgumentException if table already includes an element that matches pointer.
See Also
Related Documentation
Functions
NSAllHashTableObjects(_:)NSCompareHashTables(_:_:)NSCopyHashTableWithZone(_:_:)NSCountHashTable(_:)NSCreateHashTable(_:_:)NSCreateHashTableWithZone(_:_:_:)NSEndHashTableEnumeration(_:)NSEnumerateHashTable(_:)NSFreeHashTable(_:)NSHashGet(_:_:)NSHashInsert(_:_:)NSHashInsertIfAbsent(_:_:)NSHashRemove(_:_:)NSNextHashEnumeratorItem(_:)NSResetHashTable(_:)