Created
December 30, 2017 15:59
-
-
Save pokuwagata/8ee77b4ee11919a7e9bf9dd2fa839f1a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
interface Aggregate { | |
iterator() | |
} | |
class ConcreteAggregate { | |
iterator() | |
} | |
interface Iterator { | |
hasNext() | |
next() | |
} | |
class ConcreteIterator { | |
aggregate | |
hasNext() | |
next() | |
} | |
Aggregate -r-> Iterator : Creates > | |
ConcreteAggregate .u.|> Aggregate | |
ConcreteIterator .u.|> Iterator | |
ConcreteIterator o.l.> ConcreteAggregate | |
@enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment