Instance Property

lazy

A sequence containing the same elements as this sequence, but on which some operations, such as map and filter, are implemented lazily.

Declaration

var lazy: LazySequence<Dictionary<Key, Value>> { get }

See Also

Iterating over Keys and Values

func forEach(((key: Key, value: Value)) -> Void)

Calls the given closure on each element in the sequence in the same order as a for-in loop.

func enumerated() -> EnumeratedSequence<Dictionary<Key, Value>>

Returns a sequence of pairs (n, x), where n represents a consecutive integer starting at zero and x represents an element of the sequence.

func makeIterator() -> Dictionary<Key, Value>.Iterator

Returns an iterator over the dictionary’s key-value pairs.

var underestimatedCount: Int

A value less than or equal to the number of elements in the collection.