/
githubmirror
/
java-design-patterns
Обзор
Документация
Войти
/
githubmirror
/
java-design-patterns
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
adapter/etc/adapter.urm.puml
31 строка
627 B
Ilkka Seppälä
#1113 Add uml-reverse-mapper plugin
07 дек 2019, 19:03
07 дек 2019, 19:03
0685a50
Код
Авторство
О чём код?
@startuml package com.iluwatar.adapter { class App { - App() + main(args : String[]) {static} } class Captain { - rowingBoat : RowingBoat + Captain() + Captain(boat : RowingBoat) ~ row() ~ setRowingBoat(boat : RowingBoat) } ~class FishingBoat { - LOGGER : Logger {static} ~ FishingBoat() ~ sail() } class FishingBoatAdapter { - boat : FishingBoat + FishingBoatAdapter() + row() } interface RowingBoat { + row() {abstract} } } FishingBoatAdapter --> "-boat" FishingBoat Captain --> "-rowingBoat" RowingBoat FishingBoatAdapter ..|> RowingBoat @enduml