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

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 มิ.ย. 2024
  • Support us on Patreon: / geekific
    GitHub Repository: github.com/geekific-official/...
    Stay updated on our videos by subscribing to the channel and hitting the like button!
    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:
    - Introduction to Design Patterns: • What are Design Patter...
    - UML Class and Object Diagrams: • UML Class and Object D...
    - SOLID Principles and Best Practices: • SOLID Design Principle...
    - Breadth First Search in Java: • Breadth First Search E...
    - Depth First Search in Java: • Depth First Search Exp...
    - Graphs, The Fundamentals: • Introduction to Graphs...
    #Geekific #DesignPatterns #IteratorPattern #BehavioralPatterns

ความคิดเห็น • 7

  • @alejandrocastano8950
    @alejandrocastano8950 8 หลายเดือนก่อน +3

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

  • @isirasamarasinghe748
    @isirasamarasinghe748 ปีที่แล้ว +4

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

    • @geekific
      @geekific  ปีที่แล้ว +2

      Keep it up! Glad I could help :)

  • @vengateshm2122
    @vengateshm2122 2 ปีที่แล้ว +1

    Thank You. Understood the behind the scenes of iterator pattern.
    Program to an interface. In that way we can add features instead modifying it.

    • @geekific
      @geekific  2 ปีที่แล้ว

      Keep up the good work man!

  • @sashaovcharuk1518
    @sashaovcharuk1518 ปีที่แล้ว +2

    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.

    • @geekific
      @geekific  ปีที่แล้ว

      Hello! Nice catch :) Thanks for pointing this out!