/
githubmirror
/
java-design-patterns
Обзор
Документация
Войти
/
githubmirror
/
java-design-patterns
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
object-pool/etc/object-pool.urm.puml
30 строк
612 B
Ilkka Seppälä
#1113 Add uml-reverse-mapper plugin
07 дек 2019, 19:03
07 дек 2019, 19:03
0685a50
Код
Авторство
О чём код?
@startuml package com.iluwatar.object.pool { class App { - LOGGER : Logger {static} + App() + main(args : String[]) {static} } abstract class ObjectPool<T> { - available : Set<T> - inUse : Set<T> + ObjectPool<T>() + checkIn(instance : T) + checkOut() : T # create() : T {abstract} + toString() : String } class Oliphaunt { - counter : AtomicInteger {static} - id : int + Oliphaunt() + getId() : int + toString() : String } class OliphauntPool { + OliphauntPool() # create() : Oliphaunt } } OliphauntPool --|> ObjectPool @enduml