Skip to content

Use different types of iterators to iterate through different types of complex data structures

Notifications You must be signed in to change notification settings

design-pattern-list/iterator-pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Iterator Pattern

Type

The Iterator Pattern is a behavioral pattern.

Description

The iterator design pattern gives you the ability to use different types of iterators to iterate through different types of complex data structures.

Use

  1. When you want to use x types of iterators to loop through a complex data structure.

Prevent

  1. From exposing the iteration its internal implementation (see Main.java).

References

  1. https://refactoring.guru/design-patterns/iterator

About

Use different types of iterators to iterate through different types of complex data structures

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages