Files
java-design-patterns/function-composition/etc/function.composition.urm.puml
T
Adelya 684b2e219e feat: Function composition (#2954)
* feature: Implement Virtual Proxy pattern #2940

* feature: Implement Virtual Proxy pattern #2940

* feature: Implement Virtual Proxy pattern #2940

* feature: Implement Virtual Proxy pattern #2940

* feature: Implement Virtual Proxy pattern #2940

* feature: Implement Virtual Proxy pattern, tests added

* feature: Implement Virtual Proxy pattern, tests added

* feature: Implement Virtual Proxy pattern, tests added

* feature: Implement Virtual Proxy pattern, tests added

* feature: Implement Virtual Proxy pattern, tests added

* feature: Implement function composition pattern #2897

* task: isolate virtual proxy pattern

* task: isolate virtual proxy pattern

* refactoring: readme.md
2024-06-01 05:26:46 +03:00

21 lines
406 B
Plaintext

@startuml
skinparam monochrome true
participant "App" as App
participant "FunctionComposer" as Composer
participant "Function<Integer, Integer>" as F1
create F1
App -> F1 : func1 = x -> x * 2
create F1
App -> F1 : func2 = x -> x * x
App -> Composer : func1, func2
activate Composer
Composer -> F1 : func1.andThen(func2)
deactivate Composer
activate F1
F1 -> App : composedFunction
deactivate F1
@enduml