Work on #190: Add first batch of automagically generated puml files
This commit is contained in:
29
object-pool/etc/object-pool.urm.puml
Normal file
29
object-pool/etc/object-pool.urm.puml
Normal file
@ -0,0 +1,29 @@
|
||||
@startuml
|
||||
package com.iluwatar.object.pool {
|
||||
class Oliphaunt {
|
||||
- counter : int {static}
|
||||
- id : int
|
||||
+ Oliphaunt()
|
||||
+ getId() : int
|
||||
+ toString() : String
|
||||
}
|
||||
class OliphauntPool {
|
||||
+ OliphauntPool()
|
||||
# create() : Oliphaunt
|
||||
}
|
||||
class App {
|
||||
+ App()
|
||||
+ main(args : String[]) {static}
|
||||
}
|
||||
abstract class ObjectPool<T> {
|
||||
- available : HashSet<T>
|
||||
- inUse : HashSet<T>
|
||||
+ ObjectPool<T>()
|
||||
+ checkIn(instance : T)
|
||||
+ checkOut() : T
|
||||
# create() : T {abstract}
|
||||
+ toString() : String
|
||||
}
|
||||
}
|
||||
OliphauntPool --|> ObjectPool
|
||||
@enduml
|
Reference in New Issue
Block a user