Contents

init(options:capacity:)

Returns a hash table initialized with the given attributes.

Declaration

init(options: NSPointerFunctions.Options = [], capacity initialCapacity: Int)

Parameters

  • options:

    A bit field that specifies the options for the elements in the hash table. For possible values, see Nshashtableoptions.

  • initialCapacity:

    The initial number of elements the hash table can hold.

Return Value

A hash table initialized with options specified by options and initial capacity of capacity.

See Also

Related Documentation

  • Collections Programming Topics

Initialization