The Iterator Pattern Explained and Implemented in Java | Behavioral Design Patterns | Geekific

preview_player
Показать описание

If you're a Java developer you may have came across the Iterator interface. In this video, we detail and explain the behavioral pattern behind it: The Iterator Design Pattern.

Timestamps:
00:00 Introduction
00:30 What is the Iterator Pattern?
02:00 Iterator Pattern Implementation and Class Diagram
05:21 Recap
06:04 Thanks for Watching!

If you found this video helpful, check other Geekific uploads:

#Geekific #DesignPatterns #IteratorPattern #BehavioralPatterns
Рекомендации по теме
Комментарии
Автор

Dude, the way you teach this it's insane, thanks for making it so understandable.

alejandrocastano
Автор

i am learning my full design pattern syllabus in OOP module from your videos. thx so

isirasamarasinghe
Автор

OOP is so smart sometimes. I would have never come up with 4:43 where you define the viable iterators for a class by creating fields of type iterator within that class. So clever imo.

MrPatrickbuit
Автор

Thank You. Understood the behind the scenes of iterator pattern.

Program to an interface. In that way we can add features instead modifying it.

vengateshm
Автор

Hi! I assume there is a mistake in the schema. Method createIterator() from the interface IterableCollection does not have any arguments. However, It returns an instance of type Iterator.

sashaovcharuk
Автор

How is current.setVisited(true) does not affect other iterators working on the same collection???

BinaryLynx
join shbcf.ru