18 lines
493 B
Plaintext
18 lines
493 B
Plaintext
@startuml
|
|
package com.iluwatar.trampoline {
|
|
interface Trampoline<T> {
|
|
+ complete() : boolean
|
|
+ done(result : T) : Trampoline<T> {static}
|
|
+ get() : T {abstract}
|
|
+ jump() : Trampoline<T>
|
|
+ more(trampoline : Trampoline<Trampoline<T>>) : Trampoline<T> {static}
|
|
+ result() : T
|
|
}
|
|
class TrampolineApp {
|
|
- log : Logger {static}
|
|
+ TrampolineApp()
|
|
+ loop(times : int, prod : int) : Trampoline<Integer> {static}
|
|
+ main(args : String[]) {static}
|
|
}
|
|
}
|
|
@enduml |