Hey, I have just reduced the price for all products. Let's prepare our programming skills for the post-COVID era. Check it out »
Iterator

Iterator in Rust

Iterator is a behavioral design pattern that allows sequential traversal through a complex data structure without exposing its internal details.

Thanks to the Iterator, clients can go over elements of different collections in a similar fashion using a single iterator interface.

Iterator in Other Languages

Iterator in C# Iterator in C++ Iterator in Go Iterator in Java Iterator in PHP Iterator in Python Iterator in Ruby Iterator in Swift Iterator in TypeScript