Contents

init(keyPointerFunctions:valuePointerFunctions:capacity:)

Returns a map table, initialized with the given functions.

Declaration

init(keyPointerFunctions keyFunctions: NSPointerFunctions, valuePointerFunctions valueFunctions: NSPointerFunctions, capacity initialCapacity: Int)

Parameters

  • keyFunctions:

    The functions the map table uses to manage keys.

  • valueFunctions:

    The functions the map table uses to manage values.

  • initialCapacity:

    The initial capacity of the map table. This is just a hint; the map table may subsequently grow and shrink as required.

Return Value

A map table, initialized with the given functions.

See Also

Creating and Initializing a Map Table