Skip to content

Add an interface and implementation to iterate over containers

Compare
Choose a tag to compare
@sjokki sjokki released this 03 Oct 04:23
· 14 commits to master since this release
502dc1c

The Iterator interface has been extended to specify the return type of
the current method. Having this interface helps with static analysis and
keeps code clean by not having to add type hints. A basic implementation
based on IteratorIterator has been added.