HashIter - mfichman/jogo GitHub Wiki

Iterates over all the key-value pairs in a hash. The pairs may be returned by this iterator in any order.

@init(coll Hash[:k,:v])

Initializes the iterator. The iterator will iterate over the items in 'coll'.

more?() Bool

Returns true if there are more values in the iteration

next() Pair[:k,:v]

Returns the next key in the iteration.

reset()

Resets the iterator to point to the beginning of the collection.

iter() HashIter[:k,:v]

@destroy()

No comment