...
PlantUML Macro |
---|
interface "Iterable<T>" as iterable { Iterator<T> iterator() } interface "Collection<T>" as collection interface "List<T>" as list class "ArrayList<T>" as arraylist class "LinkedList<T>" as linkedlist iterable <|-right-- collection collection <|-right-- list list <|.down. arraylist list <|.down. linkedlist |
...
Klasse som bruker ArrayList | Klasse som også implementerer Iterable | for-each-løkke | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
...