blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 5 227 | content_id stringlengths 40 40 | detected_licenses listlengths 0 28 | license_type stringclasses 2 values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 36 values | visit_date timestamp[us]date 2015-08-14 10:26:58 2023-09-06 06:45:32 | revision_date timestamp[us]date 2011-07-11 04:02:09 2023-09-04 16:40:12 | committer_date timestamp[us]date 2011-07-11 04:02:09 2023-09-04 16:40:12 | github_id int64 206k 631M ⌀ | star_events_count int64 0 6.51k | fork_events_count int64 0 1.54k | gha_license_id stringclasses 11 values | gha_event_created_at timestamp[us]date 2012-08-01 17:54:24 2023-09-14 21:57:05 ⌀ | gha_created_at timestamp[us]date 2009-05-21 02:09:00 2023-04-21 10:18:22 ⌀ | gha_language stringclasses 55 values | src_encoding stringclasses 12 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 1 class | length_bytes int64 16 1.74M | extension stringclasses 12 values | code stringlengths 16 1.74M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
50a6762f6a61a630e013aadf6b18356a5fe7d709 | 9623791303908fef9f52edc019691abebad9e719 | /src/cn/shui/learning_plan/offer/second/second.plantuml | 8b2d3dc64fbc5118b48e019df914c0fd960f6b80 | [] | no_license | shuile/LeetCode | 8b816b84071a5338db1161ac541437564574f96a | 4c12a838a0a895f8efcfbac09e1392c510595535 | refs/heads/master | 2023-08-17T04:53:37.617226 | 2023-08-15T16:18:46 | 2023-08-15T16:18:46 | 146,776,927 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 798 | plantuml | @startuml
title __SECOND's Class Diagram__\n
namespace cn.shui.learning_plan.offer.second {
class cn.shui.learning_plan.offer.second.Offer06 {
+ reversePrint()
}
}
namespace cn.shui.learning_plan.offer.second {
class cn.shui.learning_plan.offer.second.Offer24 {
+ reverseList()
+ reverseList2()
}
}
namespace cn.shui.learning_plan.offer.second {
class cn.shui.learning_plan.offer.second.Offer35 {
~ cachedNode : Map<Node1, Node1>
+ copyRandomList()
+ copyRandomList2()
+ copyRandomList3()
}
}
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
184cbf7543efb51330a9cf1473485c75584f4716 | f98fa1852c1765b2a10e87475fb1352de77e56b1 | /src/main/scala/$1_where/$2_system_logic/$2_on_domain/model.puml | d7bff4d8a439885cc1393785f381acf608c75f71 | [] | no_license | suzuki-hoge/ddd-questions | bc14a78b0a0279e09b1418bc5cb098f5c25ae2c5 | 22a48f894e06b6c3affca7233c1b9aabc3da4ab1 | refs/heads/master | 2021-08-06T16:28:05.537406 | 2017-11-06T14:35:15 | 2017-11-06T14:35:15 | 109,396,522 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 662 | puml | @startuml
package domain {
enum Status {
Confirming, Using, Stopping, Ended
+ {static} Status create(String start, String confirm, String arrears, String end)
}
class ContractId {
- String
}
interface ContractRepository {
Status status(ContractId)
}
ContractRepository --> ContractId
ContractRepository -right-> Status
}
package table {
class ContractRepositoryTable {
Status status(ContractId)
}
}
object database
ContractRepositoryTable -down-|> ContractRepository
ContractRepositoryTable -up-> database : select start, confirm,,, from ...
ContractRepositoryTable --> Status : (start, confirm,,,) -> Status
@enduml |
51d6464b9ae5767bde8c4b39088e06142948ebf9 | e032dab934c4fa3ff55da94de2f15d246a4aed8c | /design-pattern/src/main/java/wr1ttenyu/f1nal/study/designpattern/pattern23/strategy/order.puml | 613e58f963e392e93c1212228d85cc6dd511586d | [] | no_license | wr1ttenyu/f1nal | 9d21aeb1ae14505fc2e9add9220f81719840f37f | fd27d32d2f877ea98c19d892d13df36a99059a46 | refs/heads/master | 2022-07-07T02:15:25.931532 | 2020-06-11T01:19:16 | 2020-06-11T01:19:16 | 207,061,707 | 0 | 0 | null | 2022-01-12T23:05:07 | 2019-09-08T04:31:27 | Java | UTF-8 | PlantUML | false | false | 2,407 | puml | @startuml
class Order
interface IOrderCreate {
+createOrder(Order order):Order
}
interface IOrderCancle {
+cancle(Order order):Order
}
interface IOrderPayPrepare {
+payPrepare (Order order):Order
}
interface IOrderPaySuccess {
+paySuccess(Order order):Order
}
interface IOrderDefray {
+orderDefray(Order order):Order
}
interface IOrderPayFail {
+payFail(Order order):Order
}
interface IOrderRefund {
+refund(Order order):Order
}
IOrderCreate ..> Order
IOrderCancle ..> Order
IOrderPayPrepare ..> Order
IOrderPaySuccess ..> Order
IOrderDefray ..> Order
IOrderPayFail ..> Order
IOrderRefund ..> Order
TicketChargeOrderExecutor --|> OrderLifeCycleExecutor
TicketChargeOrderCreate <.. TicketChargeOrderExecutor
TicketChargeOrderCancle <.. TicketChargeOrderExecutor
TicketChargeOrderPayPrepare <.. TicketChargeOrderExecutor
TicketChargeOrderPaySuccess <.. TicketChargeOrderExecutor
TicketChargeOrderDefray <.. TicketChargeOrderExecutor
TicketChargeOrderPayFail <.. TicketChargeOrderExecutor
TicketChargeOrderRefund <.. TicketChargeOrderExecutor
OrderLifeCycleExecutor o.. IOrderCreate
OrderLifeCycleExecutor o.. IOrderCancle
OrderLifeCycleExecutor o.. IOrderPayPrepare
OrderLifeCycleExecutor o.. IOrderPaySuccess
OrderLifeCycleExecutor o.. IOrderDefray
OrderLifeCycleExecutor o.. IOrderPayFail
OrderLifeCycleExecutor o.. IOrderRefund
TicketChargeOrderCreate ..|> IOrderCreate
TicketChargeOrderCancle ..|> IOrderCancle
TicketChargeOrderPayPrepare ..|> IOrderPayPrepare
TicketChargeOrderPaySuccess ..|> IOrderPaySuccess
TicketChargeOrderDefray ..|> IOrderDefray
TicketChargeOrderPayFail ..|> IOrderPayFail
TicketChargeOrderRefund ..|> IOrderRefund
class Order {
}
abstract class OrderLifeCycleExecutor {
-orderCreateExecutor:IOrderCreate
-orderCancleExecutor:IOrderCancle
-orderPayPrepareExecutor:IOrderPayPrepare
-orderPaySuccessExecutor:IOrderPaySuccess
-orderOrderDefrayExecutor:IOrderDefray
-orderOrderPayFailExecutor:IOrderPayFail
-orderOrderRefundExecutor:IOrderRefund
+setOrderCreateExecutor(IOrderCreate):void
+setOrderCancleExecutor(IOrderCancle):void
+setOrderPayPrepareExecutor(IOrderPayPrepare):void
+setOrderPaySuccessExecutor(IOrderPaySuccess):void
+setOrderOrderDefrayExecutor(IOrderDefray):void
+setOrderOrderPayFailExecutor(IOrderPayFail):void
+setOrderOrderRefundExecutor(IOrderRefund):void
}
@enduml |
621538014c1d7c4563719ce697bfe66207443f8c | 4549e374742df2a7e555106d0f15669a2c619fdd | /docs/ScenarioOne.plantuml | dedca43333839151e9297f7d2594ae8181482382 | [] | no_license | armandkamffer/iOS-MVVMArchitecture | 9999a0c2f60d751c1aad9d8cde6fa46d21637cae | f43deb1daa1fa51be4a5685be9a090b91b02364d | refs/heads/master | 2022-07-18T21:44:19.130634 | 2020-05-20T09:26:02 | 2020-05-20T09:26:02 | 255,587,752 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,536 | plantuml | @startuml ScenarioOne
' STYLE START
hide empty members
skinparam shadowing false
' STYLE END
class "ScenarioOneViewModel" as ScenarioOneViewModel {
-service: ScenarioOneAbstractService
-response: ScenarioOneResponse?
-items: [ScenarioOneItem]?
+configure(service:ScenarioOneAbstractService)
+loadItems(completion:)
}
ScenarioOneViewModel *-- ScenarioOneAbstractService
ScenarioOneViewModel "0" o-- "*" ScenarioOneItem : contains
ScenarioOneViewModel "0" o-- "1" ScenarioOneResponse : contains
ScenarioOneViewModel ..> ScenarioOneMapper : uses
' STYLE START
hide empty members
skinparam shadowing false
' STYLE END
class "ScenarioOneMapper" as ScenarioOneMapper {
+{static} mapItems(with response: ScenarioOneResponse?)
}
class "ScenarioOneItem" as ScenarioOneItem {
+init(title:cost:)
}
' STYLE START
hide empty members
skinparam shadowing false
' STYLE END
class "ScenarioOneViewController" as ScenarioOneViewController {
-cellFactory: ScenarioOneCellFactory
-viewModel: ScenarioOneViewModel
+init(with: ScenarioOneViewModel)
+init(coder:)
+viewDidLoad()
-loadResponse()
-handleError(_:)
}
class "ScenarioOneViewController" as ScenarioOneViewController1 << (E,orchid) extension >> {
+tableView(_:cellForRowAt:)
+tableView(_:numberOfRowsInSection:)
}
ScenarioOneViewController <.. ScenarioOneViewController1 : extension
ScenarioOneViewController *-- ScenarioOneCellFactory
ScenarioOneViewController *-- ScenarioOneViewModel
' STYLE START
hide empty members
skinparam shadowing false
' STYLE END
class "ScenarioOneAbstractService" as ScenarioOneAbstractService << (P,GoldenRod) protocol >> {
+loadData(completion: (ScenarioOneResponse?, Error?)->())
}
class "ScenarioOneService" as ScenarioOneService {
+loadData(completion: (ScenarioOneResponse?, Error?)->())
}
class "ScenarioOneErrorService" as ScenarioOneErrorService {
+loadData(completion: (ScenarioOneResponse?, Error?)->())
}
class "ScenarioOneResponse" as ScenarioOneResponse {
+items: [ScenarioOneItemResponse]
+init(items:)
}
class "ScenarioOneItemResponse" as ScenarioOneItemResponse {
+init(title:cost:)
}
ScenarioOneService ..|> ScenarioOneAbstractService : conforms to
ScenarioOneErrorService ..|> ScenarioOneAbstractService : conforms to
ScenarioOneResponse "0" *-- "*" ScenarioOneItemResponse : contains
' STYLE START
hide empty members
skinparam shadowing false
' STYLE END
class "ScenarioOneCellFactory" as ScenarioOneCellFactory {
+cell(for:in:at:)
}
@enduml |
b696c41f751bcb8a1de6b30236d371f6905f491b | c05cc22f50b3e63ec54c8c8b6ced389b91a6e55e | /cookbook/bootsttrap_fulltest/reports/docs/diagrams/src/diagrams.puml | d7370f6f22ba199e94bc648552b963c07cfa3ec0 | [
"BSD-3-Clause"
] | permissive | tuantq26/code_with_me | 7b30fdf7cd11003d41fcc176cf4e199ab6fb8408 | 4a82315217fefb56a38054c40c412f88275b1a18 | refs/heads/master | 2023-08-27T22:19:44.808007 | 2021-10-14T11:18:32 | 2021-10-14T11:18:32 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,588 | puml | @startuml
set namespaceSeparator ::
class "bootsttrap_fulltest::app::shared::app_vars.dart::Environment" {
+int index
{static} +List<Environment> values
{static} +Environment dev
{static} +Environment staging
{static} +Environment prod
{static} +Environment vizstory
}
"bootsttrap_fulltest::app::shared::app_vars.dart::Environment" o-- "bootsttrap_fulltest::app::shared::app_vars.dart::Environment"
class "bootsttrap_fulltest::app::shared::app_vars.dart::Constants" {
-Map<String, dynamic> _config
+dynamic whereAmI
+void setEnvironment()
+bool isDev()
}
class "bootsttrap_fulltest::app::shared::app_vars.dart::_Config" {
{static} +Map<String, dynamic> debugConstants
{static} +Map<String, dynamic> prodConstants
{static} +Map<String, dynamic> qaConstants
{static} +Map<String, dynamic> visstoryConstants
{static} +String whereAmI
}
class "bootsttrap_fulltest::app::ui::myapp.dart::MyApp" {
+MyHomePage? home
+Widget build()
}
"bootsttrap_fulltest::app::ui::myapp.dart::MyApp" o-- "bootsttrap_fulltest::app::ui::screens::home::myhomepage.dart::MyHomePage"
class "bootsttrap_fulltest::app::ui::screens::home::myhomepage.dart::MyHomePage" {
+String title
+String message
{static} +Key titleKey
{static} +Key messageKey
+State<MyHomePage> createState()
}
"bootsttrap_fulltest::app::ui::screens::home::myhomepage.dart::MyHomePage" o-- "flutter::src::foundation::key.dart::Key"
class "bootsttrap_fulltest::app::ui::screens::home::myhomepage.dart::_MyHomePageState" {
-int _counter
-void _incrementCounter()
+Widget build()
}
@enduml |
3e8fa56511b88484ba21b427b080effea7ced636 | 9b7823ad3ffe268aac5b74dfe9c887a6bcebc168 | /philo.puml | 1bf809a92aeed734a84d473c7206d0e09d50ac64 | [
"CC-BY-3.0"
] | permissive | djalilhebal/softviz-philosophers | be610e1915383e90ea21fa8987d4e2768aeb7de2 | 06540f71740704681f375b24a620d526a16b9aa1 | refs/heads/master | 2022-07-14T04:51:44.813076 | 2020-05-17T00:56:00 | 2020-05-17T00:56:00 | 260,105,886 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,024 | puml | @startuml philo
skinparam classAttributeIconSize 0
package me.djalil.philo {
class Philo {
startSim(): void
stopSim(): void
loadPreset(String name): void
}
Philo -- SimControl
class SimControl {
# act(int actor, String action): void
# start(): void
# stop(): void
}
SimControl --> SimView
SimControl --> SimModel
SimModel -- SimView
class SimView {
+ constructor(SimModel model)
+ redraw(): void
+ start(): void
+ stop(): void
}
class SimModel {
+ start(): void
+ stop(): void
}
SimModel *-- "5" Philosopher
SimModel *-- "1" DinnerTable
class DinnerTable {
- forks: int[]
# setOwner(int i, int j): void
# unsetOwner(int i, int j): void
}
class Philosopher {
- engine: ScriptEngine
- activity: String
+ getName(): String
+ getColor(): String
+ getHealth(): int
+ getActivity(): String
+ {static} narrate(Philosopher p): String
# maybePanic(): void
# isDead(): boolean
}
}
@enduml
|
21f24ebac4b07c7732d85cb9b930cbf374f8175c | 088856ec5790009dd9f9d3498a56fe679cfab2e8 | /src/puml/5/ucmitz/svg/class/bc-theme-config/api_theme_configs.puml | 04f71d23c991ab31798b933c804bf1b7cb3d68b4 | [] | no_license | baserproject/baserproject.github.io | 21f244348890652286969afa1fde27c5c4d9e4ad | 8d61cf720f833854e1a3c97136e22e75baea7bb0 | refs/heads/master | 2023-08-09T03:21:53.341423 | 2023-07-27T07:28:50 | 2023-07-27T07:28:50 | 228,826,353 | 0 | 12 | null | 2023-08-17T02:31:05 | 2019-12-18T11:31:51 | HTML | UTF-8 | PlantUML | false | false | 515 | puml | @startuml
skinparam handwritten true
skinparam backgroundColor white
hide circle
skinparam classAttributeIconSize 0
title テーマ設定API
class Api\BcApiController {
}
class Api\ThemeConfigsController {
+ 取得:view()
+ 保存:edit()
}
class ThemeConfigsService {
+ ThemeConfigsTable
}
Api\ThemeConfigsController -up[#Black]-|> Api\BcApiController
Api\ThemeConfigsController -down[#Black]-> ThemeConfigsService
note "以下テーマ設定と同じ" as note
ThemeConfigsService .. note
@enduml
|
f2f988aa34d338030b62912cfdd3259d2a99c5f7 | 067248aada04b94cd18945347f6c90178b8510a5 | /test3/源码/3.1.puml | 3e3a21a1f749b928b7cf5dfb579f2f673c4fe1d3 | [] | no_license | wuhengqiang100/is_analysis | edb2d72a716336ee06b682338eaedad6628ba958 | 8984de1272f740a734aaa9da90b70ca7fce8708d | refs/heads/master | 2018-10-05T11:08:14.564858 | 2018-07-08T05:24:54 | 2018-07-08T05:24:54 | 125,818,184 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,149 | puml | @startuml
class 借阅记录{
借阅日期
借阅人ID
图书编号
数量
归还情况
}
class 学生{
学号
姓名
所属院系
}
class 老师{
工号
姓名
}
class 读者{
读者ID
读者类型
}
class 馆员{
馆员ID
馆员姓名
}
class 罚款{
罚款人ID
金额
校园卡卡号
}
class 图书管理系统
class 预订记录{
预约人ID
预约日期
预约书号
}
class 书目{
书号
书名
作者
出版社
出版日期
版本号
ISBN
总书本数
借书数量
预订数量
}
class 图书{
图书编号
图书状态
}
读者 <|-down-老师
读者 <|-right- 学生
借阅记录 "0..5" -down-"1" 读者:借阅
图书管理系统 "1"-right-"0..*"读者
读者 "0..1" -left- "0..3" 预订记录:预订
借阅记录 "0..n" -left- "1" 馆员:管理;
馆员 "1..*" -left- "0..*"图书:管理
罚款 "1"-- "0..*"读者:+缴费
图书管理系统 -down- 罚款:查询
图书管理系统 "1"-left-"1" 书目:拥有
预订记录 "0..n" -left- "0..1"书目:预订
图书 "n" -up- "1" 书目
@enduml |
68b5870359a93381ee0f0546649e39cbcc0ce360 | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.test-framework@1.1.16/UnityEditor.TestRunner/Api/CallbacksHolder.puml | 0d23f5a1b22ce3574a9641bac545ceef6c04a155 | [] | no_license | TakanoVineYard/AMHH | 215a7c47049df08c5635b501e74f85137b9e985b | 68887a313587a2934fb4ceb2994cbc2a2191d6a3 | refs/heads/master | 2023-01-13T02:08:02.787083 | 2020-11-17T14:51:57 | 2020-11-17T14:51:57 | 303,631,593 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 749 | puml | @startuml
class CallbacksHolder {
+ Add(callback:ICallbacks, priority:int) : void
+ Remove(callback:ICallbacks) : void
+ GetAll() : ICallbacks[]
+ Clear() : void
+ TemporarilySuppressCallbacks() : IDisposable
}
class "ScriptableSingleton`1"<T> {
}
class CallbackWithPriority <<struct>> {
+ Priority : int
+ CallbackWithPriority(callback:ICallbacks, priority:int)
}
class Suppressor <<sealed>> {
+ Suppressor(instance:CallbacksHolder)
+ Dispose() : void
}
"ScriptableSingleton`1" "<CallbacksHolder>" <|-- CallbacksHolder
ICallbacksHolder <|-- CallbacksHolder
CallbacksHolder +-- CallbackWithPriority
CallbackWithPriority --> "Callback" ICallbacks
CallbacksHolder +-- Suppressor
IDisposable <|-- Suppressor
@enduml
|
79cc1aff9f7fe4f4c842383616b6348f9d6b55be | 65ca054caa856c00676e94134fc256b4a69fc6bc | /influxql/graph.puml | 6a81c6990ade89626a98d98064bab2f349fe810c | [] | no_license | keleqnma/influxdb-cluster | 39a85d941e62b4c81d4940ed561c5512e7ee6324 | 2f947fc2a1d471a23a353aeb473f0078d2e7d1b9 | refs/heads/master | 2023-04-03T06:53:29.335596 | 2021-04-11T09:58:42 | 2021-04-11T09:58:42 | 328,880,594 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 133 | puml | @startuml
class InfluxQL {
+Mechanism: string
+DB: string
+Query: string
+Write: []byte
+URL: string
+Measurement: string
}
@enduml |
4999912699e33d260bd451d4eb2d0e295329d289 | c0b9d76ce46994a98d7da7283484f16b9bb31f08 | /HwAudio2Text/SequenceHttpCookieExpired2.puml | d8b84d5613974a7535e43fd45cfdd45db28dccf3 | [] | no_license | jzyu/MyPlantUML | bced00ebc2d62ed602e41e37f3d9b870784f7749 | e0e06f2d4f3ba712816835902ad239c45b5cebf4 | refs/heads/master | 2020-04-15T02:33:55.652019 | 2019-01-06T15:19:57 | 2019-01-06T15:19:57 | 164,319,203 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,668 | puml | 序列图: full story with Http Cookie Expired
# 新增api: provideCookieGetter(CookieGetter getter)
// sdk要求app实现此接口
interface CookieGetter {
void getCookieAsync(CookieGetCallback cb);
interface CookieGetCallback {
// if get cookie failed, set cookie param as NULL
void onGet(String cookie);
}
}
// app 实现
new CookieGetter() {
@override
void getCookieAsync(final Callback cb) {
lark.autoLogin(new LarkLoginCallback loginCb() {
@override
void onLogin() {
String cookie = CookieUtil.getCookie(HttpUtil.getDomainUrl());
cb.onGet(cookie);
}
};
}
};
# SDK 上报 ERROR_SERVICE_NOT_AVAILABLE 以后,将直接丢弃音频数据,避免空耗太多内存
# errorCode: ERROR_FAILED_XXX 失败后无法恢复,直接丢弃音频数据,避免空耗内存
ERROR_SNIPPED // app忽略即可
ERROR_FAILED_NETWORK // 失败
ERROR_FAILED_COOKIE // 失败
# FINISH 可能不会上报
@startuml
actor User
participant App
participant AudioSdk as Sdk
participant AudioServer as Server
App -> Sdk: initSdk
Sdk -> Sdk: cookieGetter.getCookieAsync
User -> App: pushToTalk
activate App
App -> Sdk: apiRealTimeRecord
activate Sdk
Sdk -> Sdk: beginRecord
Sdk -> Server: connectWebSocket
Sdk <-- Server: connectFailed
|||
Sdk -> Sdk: fetchAudioData
Sdk -> Server: http sendData first
alt ERROR_COOKIE_EXPIRED
Sdk <-- Server: ERROR_COOKIE_EXPIRED
Sdk -> Sdk: cookieGetter.getCookieAsync(CookieGetCallback)
Sdk --> Sdk: onGet(newCookie)
alt newCookie is NULL
Sdk -> App: callback("", ERROR_COOKIE_EXPIRED);
else
Sdk -> Sdk: fetchAudioData
Sdk -> Server: http sendData first
end
end
loop fetchAndSend while audio data not empty / MultiThread concurrency
Sdk -> Sdk: fetchAudioData
Sdk -> Server: http sendData
alt when success
Server --> Sdk: textResult
Sdk -> App: callback(text, SUCCESS)
else when failed
Server --> Sdk: errorMessage
Sdk -> App: callback(errMsg, ERROR_SNIPPET)
end
end
... RECORDING ...
User -> App: releaseEndTalk
App -> Sdk: apiStopRecord
deactivate App
Sdk -> Sdk: stopRecord
loop fetchAndSend while audio data not empty / MultiThread concurrency
Sdk -> Sdk: fetchAudioData
Sdk -> Server: http sendData
alt when success
Server --> Sdk: textResult
Sdk -> App: callback(text, SUCCESS)
else when failed
Server --> Sdk: errorMessage
Sdk -> App: callback(errMsg, ERROR_SNIPPET)
end
end
Sdk -> App: callback("", FINISH)
'deactivate Sdk
deactivate Sdk
@enduml |
8a9b0e1f8e0afadc689f6de085b4010c4e4267f3 | 39af08743a9a6be78c89b6a64e196d06ecfad4a4 | /src/main/java/io/quarkus/registry/app/model/model.puml | 227086d387f6d768362d8eb567111c26bb3b6208 | [] | no_license | famod/registry.quarkus.io | 3c5eab9d447f99d4b0023fbc35fbb9c7d4d537df | d2454f76683e38e7cec2d6804cd93eabfe49840c | refs/heads/main | 2023-07-08T04:12:41.282889 | 2021-08-12T16:34:26 | 2021-08-12T16:34:40 | 396,943,561 | 0 | 0 | null | 2021-08-16T19:34:26 | 2021-08-16T19:34:26 | null | UTF-8 | PlantUML | false | false | 1,257 | puml | @startuml
class Platform {
+ String platformKey
+ String name
+ Map<String,Object> metadata
+ boolean isDefault
}
class PlatformStream {
+ String streamKey
- String streamKeySortable
+ String name
+ Map<String,Object> metadata
}
class PlatformRelease {
+ String version
- String versionSortable
+ String quarkusCoreVersion
+ String upstreamQuarkusCoreVersion
+ List<String> memberBoms
+ Map<String,Object> metadata
}
class PlatformExtension {
+ Map<String,Object> metadata
}
class Extension {
+ String groupId
+ String artifactId
+ String name
+ String description
}
class ExtensionRelease {
+ String version
- String versionSortable
+ Map<String,Object> metadata
+ String quarkusCore
}
class Category {
+ String name
+ String description
+ Map<String,Object> metadata
}
class ExtensionReleaseCompatibility {
+ String quarkusCoreVersion
+ boolean compatible
}
note right of PlatformRelease::memberBoms
This is stored as a JSON array
end note
Platform *-- PlatformStream
PlatformStream *-- PlatformRelease
PlatformRelease *-- PlatformExtension
Extension *-- ExtensionRelease
ExtensionRelease o-- PlatformExtension
ExtensionRelease <-- ExtensionReleaseCompatibility
@enduml |
102e48ae9db01b2465c9056b0559d873b4f0caf0 | c815f9c82c1400f76243750cd0ec609d217b9943 | /strategy/etc/strategy.urm.puml | db86b9ed6a0e8f66a1ef23bac8e5659ed8198c3c | [
"MIT"
] | permissive | mikulucky/java-design-patterns | 6ab10e9e5c95b6caffebf045d37d04a1571bc0cd | cbbf3bf08842723964719ed7d8ab92864ec5a58d | refs/heads/master | 2021-01-17T23:34:49.962450 | 2016-09-28T19:54:28 | 2016-09-28T19:54:28 | 48,302,802 | 1 | 1 | null | 2016-01-02T23:58:44 | 2015-12-20T01:00:47 | Java | UTF-8 | PlantUML | false | false | 769 | puml | @startuml
package com.iluwatar.strategy {
class DragonSlayer {
- strategy : DragonSlayingStrategy
+ DragonSlayer(strategy : DragonSlayingStrategy)
+ changeStrategy(strategy : DragonSlayingStrategy)
+ goToBattle()
}
interface DragonSlayingStrategy {
+ execute() {abstract}
}
class App {
+ App()
+ main(args : String[]) {static}
}
class MeleeStrategy {
+ MeleeStrategy()
+ execute()
}
class ProjectileStrategy {
+ ProjectileStrategy()
+ execute()
}
class SpellStrategy {
+ SpellStrategy()
+ execute()
}
}
DragonSlayer --> "-strategy" DragonSlayingStrategy
MeleeStrategy ..|> DragonSlayingStrategy
ProjectileStrategy ..|> DragonSlayingStrategy
SpellStrategy ..|> DragonSlayingStrategy
@enduml |
6bc976bc8cffca7e9861a1e1ed910230c5121904 | 1fa7ae5e5bf73cacbfd1fe81df3915f998fe0e7e | /Assets/UML/MainUML.puml | 90d72d46840ebf330f46d8250ceb7929cf9a4353 | [
"MIT"
] | permissive | geechs-masujima-ryohei/UnityTestTutorial | 5d6d0be1dac28a4fe246a1eb287932182453aec0 | bf711cd7b3eaf2c143363afae8b3eb40e394ef57 | refs/heads/master | 2020-11-30T12:44:24.279514 | 2020-02-06T10:03:17 | 2020-02-06T10:03:17 | 230,399,012 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 849 | puml | @startuml
namespace Input {
interface IInputProvider
class UnityInputProvider
class AIInputProvider
}
class DateTime <<struct>> {
int Year
int Month
int Day
}
namespace People {
enum ESex {
Male
Femele
Unknown
}
class PersonInfo{
string Name
DateTime Birthday
ESex Sex
int Age
}
}
namespace Playable {
class Player
class AIPlayer
class GroundChecker
}
namespace Scene {
class TestPlayModeScene
}
DateTime o-- People.PersonInfo
People.ESex o- People.PersonInfo
Input.IInputProvider <|.. Input.UnityInputProvider
Input.IInputProvider <|.. Input.AIInputProvider
Playable.GroundChecker "1"-up-"1" Playable.Player :< owns
People.PersonInfo o-up- Playable.Player
Playable.Player <|-- Playable.AIPlayer
Input.IInputProvider o-up- Playable.Player
Playable.Player "0.."-up- "1" Scene.TestPlayModeScene :< owns
@enduml |
6646c32bac0e430c6ac01a27f1a8efc9f14ef192 | 3b8da9139ced146b949abf375efd4de4904a615f | /docs/exercise45.puml | b626e93ea9c5614c73e2a841114d094b04e26a52 | [] | no_license | jparrondo24/parrondo-cop3330-assignment3 | 47c72c14cbf35fca5f1d98859f63a5c25645386c | a0a1ffb9057396f462e51b8f04dc266bda85a007 | refs/heads/master | 2023-06-04T01:45:29.487776 | 2021-06-20T01:11:04 | 2021-06-20T01:11:04 | 376,988,622 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 181 | puml | @startuml
class App {
+main()
}
class WordReplacer {
-ArrayList<String> lines
-String wordToFind
-String wordToReplace
+addLine(): void
+printToFile(): void
}
@enduml |
d91441d0c302ff7846d5a7e2dab9e8148d1da234 | d8f0a77020710502bf8c65131319d92efe77d7b6 | /test3/Class.puml | 4d1b7dc259d37eaaa2249e9c0e2378fbddbd4217 | [] | no_license | WwhKiller/is_analysis | c52c708d176d607451c208dfed03d6699e01dcfc | 530ad229920a5e7c914a4dfd7ba7a06b15eb56ef | refs/heads/master | 2020-04-25T02:21:27.777118 | 2019-05-05T07:27:56 | 2019-05-05T07:27:56 | 172,436,323 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,448 | puml | @startuml
abstract class 用户{
姓名 : String
ID : String
性别 : char
可借数量:int
总共借阅书数 : int
}
class 读者 extends 用户{
String ID
}
class 图书管理员管理员 extends 用户{
String ID
}
class 系统管理员 extends 用户{
String ID
}
abstract class 借书管理 {
书号:String
书名:String
作者:String
出版社名:String
读者ID:String
读者姓名:String
}
class 借书异常{
图书为归还异常:String
图书借出异常:String
预约图书异常:String
}
借书异常..>借书管理
class 借还书记录 extends 借书管理{
借书时间:Date
还书时间:Date
真实借书时间:Date
}
class 借书{
书号:String
书名:String
作者:String
出版社名:String
读者ID:String
读者姓名:String
}
借书..>借还书记录
class 预约{
书号:String
书名:String
作者:String
出版社名:String
读者ID:String
读者姓名:String
}
预约..>预约记录
class 预约记录 extends 借书管理{
预约时间:Date
}
class 书籍{
书号:String
书名:String
种类:String
出版社:String
出版社号:String
作者:String
剩余数量:int
馆藏数量:int
简介:String
}
class 书籍种类{
种类:String
}
书籍种类*--书籍
书籍 "1" --> "1..剩余数量" 借书管理 : 被借阅
用户 "1" --> "1..可借数量" 借书管理 : 借阅
借书 --o 借书管理
预约 --o 借书管理
@enduml |
37310437f3521339f80032a53e7a5d823d8ca280 | 4905656b7385361349ba943e3c6607fd5917485e | /src/Bridge/Bridge.plantuml | 434c82ecbb08103072522077de3ae2506cd4b8b9 | [] | no_license | hasanerdemak/DesignPatterns | 014f4a53988f292b317dfc55dc7897dc1e77d8f2 | 565ac516580a02b2db6c799babbe483f76383a09 | refs/heads/master | 2023-03-13T22:33:15.260708 | 2021-03-08T08:32:32 | 2021-03-08T08:32:32 | 345,585,934 | 0 | 0 | null | null | null | null | MacCentralEurope | PlantUML | false | false | 1,029 | plantuml | @startuml
title __BR›DGE's Class Diagram__\n
namespace Bridge {
class Bridge.Abstraction {
~ Operation()
}
}
namespace Bridge {
class Bridge.BridgeMain {
{static} + main()
}
}
namespace Bridge {
class Bridge.ConcreteImplementorA {
~ OperationImp()
}
}
namespace Bridge {
class Bridge.ConcreteImplementorB {
~ OperationImp()
}
}
namespace Bridge {
class Bridge.Implementor {
~ OperationImp()
}
}
namespace Bridge {
class Bridge.RefinedAbstraction {
~ Operation()
}
}
Bridge.Abstraction o-- Bridge.Implementor : imp
Bridge.ConcreteImplementorA -up-|> Bridge.Implementor
Bridge.ConcreteImplementorB -up-|> Bridge.Implementor
Bridge.RefinedAbstraction -up-|> Bridge.Abstraction
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
42d2040e05070dad9707bc6dfe0ca031a90f9969 | 07e1b168bce1233a26b9d2ce8eeaa55516bee6b0 | /src/site/design/threeD.puml | de13ded5e78b4d3a8a2da19f73c697190c9840ee | [
"Apache-2.0",
"BSD-3-Clause",
"Minpack",
"LicenseRef-scancode-generic-cla"
] | permissive | apache/commons-math | 1016687acb2c14c9df8060603c006e8ad78df2b8 | 9e02432e06501f94690e172f3856450cd3a55a20 | refs/heads/master | 2023-08-15T01:32:18.953065 | 2023-08-05T16:14:12 | 2023-08-05T16:14:12 | 24,928,494 | 592 | 517 | Apache-2.0 | 2023-07-03T09:08:43 | 2014-10-08T07:00:06 | Java | UTF-8 | PlantUML | false | false | 2,495 | puml | ' Licensed to the Apache Software Foundation (ASF) under one or more
' contributor license agreements. See the NOTICE file distributed with
' this work for additional information regarding copyright ownership.
' The ASF licenses this file to You under the Apache License, Version 2.0
' (the "License"); you may not use this file except in compliance with
' the License. You may obtain a copy of the License at
'
' http://www.apache.org/licenses/LICENSE-2.0
'
' Unless required by applicable law or agreed to in writing, software
' distributed under the License is distributed on an "AS IS" BASIS,
' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
' See the License for the specific language governing permissions and
' limitations under the License.
@startuml
skinparam svek true
skinparam ClassBackgroundColor #F3EFEB
skinparam ClassArrowColor #691616
skinparam ClassBorderColor #691616
skinparam NoteBackgroundColor #F3EFEB
skinparam NoteBorderColor #691616
skinparam NoteFontColor #691616
skinparam ClassFontSize 11
package org.apache.commons.math4.geometry #ECEBD8 {
interface Space {
+int getDimension()
+Space getSubSpace()
}
note top
Space is mainly used as a parameter
for generics and to link d-dimensional
space with (d-1)-dimensional space
end note
interface "Vector<S extends Space>" as Vector_S_ {
+Space getSpace()
+Vector getZero()
+double getNorm()
+Vector add()
+Vector subtract()
+Vector negate()
+Vector normalize()
+Vector scalarMultiply()
+boolean isNaN()
+boolean isInfinite()
+double distance()
+double dotProduct()
}
Space <-- Vector_S_
package partitioning #DDEBD8 {
interface "Region<S extends Space>" as Region_S_
interface "Hyperplane<S extends Space>" as Hyperplane_S_
interface "SubHyperplane<S extends Space>" as SubHyperplane_S_
}
package euclidean #DDEBD8 {
package threed #DDDBD8 {
class Euclidean3D
class Cartesian3D
class Line
class SubLine
class Plane
class SubPlane
class PolyhedronsSet
Space <|.. Euclidean3D
Vector_S_ <|.. Cartesian3D
Hyperplane_S_ <|.. Plane
SubHyperplane_S_ <|.. SubPlane
Region_S_ <|.. PolyhedronsSet
}
}
}
@enduml
|
78b7ac1eb235d5128645a9e17c963e386182f08e | 44f30e66d498a929295f8f0751a74fff3009631f | /uml/CreationUml.puml | e2ebfc7ea131ab7f66540dd2a574bb3990fc3bfe | [] | no_license | daniil-shevtsov/incremental-reader | f0ed839001125e8ebf68b8fb7d1948247f5fbd8c | 4123fe0f59057203383b8478a2520dcae0febd40 | refs/heads/main | 2023-06-01T13:46:13.155130 | 2021-06-17T09:04:29 | 2021-06-17T09:04:29 | 313,006,203 | 0 | 0 | null | 2021-06-17T09:04:30 | 2020-11-15T10:26:49 | Kotlin | UTF-8 | PlantUML | false | false | 861 | puml | @startuml
'https://plantuml.com/class-diagram
class CreationFragment {
+ renderState(CreationViewState state)
+ handleEvent(CreationViewEvent event)
}
class CreationViewState {
String title
String content
}
enum CreationViewAction {
NameEntered,
ContentEntered,
SaveContent
}
enum CreationInitArguments {
Create,
Edit
}
enum CreationScreenEvent {
ShowItemSaved,
ShowChunkCreated,
ShowClozeCreated
}
class CreationViewModel {
+ onArguments(CreationInitArguments arguments)
+ onAction(CreationViewAction action)
}
CreationFragment -> CreationViewModel
CreationFragment <- CreationViewModel
CreationViewAction -up[hidden]-> CreationFragment
CreationViewState -up[hidden]-> CreationViewModel
CreationViewAction -[hidden]> CreationInitArguments
CreationScreenEvent -[hidden]> CreationViewAction
@enduml |
19d98854f9923d5cb004e70e0e70c3beb728a429 | 981d1e050c027cba8a5dd9d2ac37e7193a9a4e06 | /src/main/java/ex43/base/ex43plant.puml | ca7dfeb44fff11fec2086f38c5bcd984cf3c87a2 | [] | no_license | cristiam193/enciso-cop3330-assignment3 | 1a3ae88a3321941111774d95fb6253ccbd9c41ae | 8641fe7d5ca905449e0bf4277cad5dc0b2be27ec | refs/heads/master | 2023-06-02T03:56:44.526844 | 2021-06-21T01:56:26 | 2021-06-21T01:56:26 | 378,743,144 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 385 | puml | @startuml
'https://plantuml.com/class-diagram
class App {
}
class InputUser {
String siteName
String author
String jsFiles
String cssFiles
getInput()
setsiteName()
getsiteName()
setAuthor()
getAuthor()
setjsFiles()
getjsFiles()
}
class HtmlBuilder {
makeFile()
formatFile()
}
App o-> InputUser
App o-> HtmlBuilder
@enduml
|
01690d439925936932ec99a4fa39722d8eebdf00 | ac15203c3e771cb55e6506c671041a1f75000ce5 | /src/main/java/rape/brutal/punydevil/communications/communication_uml.puml | aa1d0abc71559ec3b29173555974fa4093b69a90 | [] | no_license | ViRGiL175/java-columbian-checkpoint-breakout | 08a1470dd4fea4ac7d56bccb2d243e9ce8c1f2ce | 2c3d483c949a049b7a48fec9e4e319077d02c200 | refs/heads/master | 2021-01-19T01:13:43.076942 | 2017-04-04T20:36:13 | 2017-04-04T20:36:13 | 87,232,580 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,166 | puml | @startuml
package rape.brutal.punydevil.communications.users {
+class User {
-Phone userPhone;
+User(Phone userPhone);
void pressPowerButton();
+void playGame();
+void call(int number);
+void SMS(int number, String text);
+void charge();
+void watchTV(int number);
}
+class Girl extends User {
+Girl(Iphone userPhone);
}
+class Redneck extends User {
+Redneck(Phone userPhone);
}
+class RussianGangster extends User {
+RussianGangster(Phone userPhone);
}
+class Geek extends User {
+Geek(NoNamePhone userPhone);
}
}
package rape.brutal.punydevil.communications.phone {
+class Iphone extends Phone {
+Iphone(SIM sim);
void FingerPrint();
+void startGame();
+void unlock();
}
+abstract class Phone {
-boolean isTurnedOn = false;
-boolean isUnlock = false;
- SIM sim;
- IConnector activeAts;
- Display display = new Display();
- Accumulator accumulator = new Accumulator();
- CPU cpu = new CPU();
- RadioModule radioModule = new RadioModule();
- Memory memory = new Memory();
+Phone(SIM sim);
+void setActiveAts(IConnector activeAts);
+void phoneCall(int contactNumber);
+void phoneSMS(String text, int contactNumber);
+void receiveCall(String text, int contactNumber);
+void receiveSMS(String text, int contactNumber);
+int getNumber();
+void turnOn();
+void turnOff();
+void charge();
+void startGame();
+void unlock();
}
+class NoNamePhone extends Phone {
-IBroadcaster iBroadcaster;
+NoNamePhone(SIM sim);
+void setBroadcaster(IBroadcaster iBroadcaster);
+void unlock();
+void startGame();
+void watchTv(int number);
}
}
package rape.brutal.punydevil.communications.infrastructure; {
ICallable <|.... Phone
+class ATS implements IConnector {
-HashMap<Integer, ICallable> iCallableHashMap = new HashMap<>();
+ATS();
+void call(String text, int callerNumber, int contactNumber);
+void sendSMS(String text, int callerNumber, int contactNumber);
+void register(int number, ICallable iCallable);
+void destroyAll();
}
+interface IBroadcaster {
String connectToTower(int chanel);
}
+interface ICallable {
+void receiveCall(String text, int contactNumber);
+void receiveSMS(String text, int contactNumber);
}
+interface IConnector {
void call(String text, int callerNumber, int contactNumber);
void sendSMS(String text, int callerNumber, int contactNumber);
void register(int number, ICallable iCallable);
}
+class TvTower implements IBroadcaster {
-HashMap<Integer, String> tvProgram;
+TvTower();
+String connectToTower(int chanel);
}
}
@enduml |
3a352cbbfaa21f886d54752df896f3e1828290f0 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/CategorySetAssetDescriptionAction.puml | 5ed9f03a07cdf813d87a62e3f6299c4ed0f1232d | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 542 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface CategorySetAssetDescriptionAction [[CategorySetAssetDescriptionAction.svg]] extends CategoryUpdateAction {
action: String
assetId: String
assetKey: String
description: [[LocalizedString.svg LocalizedString]]
}
interface CategoryUpdateAction [[CategoryUpdateAction.svg]] {
action: String
}
@enduml
|
382a66b5553f8496428e539ce5f14fe9d66c6421 | 2f34c0328c9b296a945021661e7c8e6c56129349 | /doc/transaction/class/TransactionDefinition.puml | 507602d03016595154845644a799b86fea900449 | [] | no_license | bingowangzhb/springframework-samples | b10123efb9d09d63563c684ffd273287c9a1cfab | 47b9f5b0795ec0f19cbe42cf2e8a8017683aa46e | refs/heads/master | 2023-04-14T10:35:58.751115 | 2023-04-07T09:08:58 | 2023-04-07T09:08:58 | 224,329,302 | 0 | 0 | null | 2022-12-16T04:53:53 | 2019-11-27T02:42:44 | Java | UTF-8 | PlantUML | false | false | 2,489 | puml | @startuml
interface TransactionDefinition {
+ {static} PROPAGATION_REQUIRED : int = 0
+ {static} PROPAGATION_SUPPORTS : int = 1
+ {static} PROPAGATION_MANDATORY : int = 2
+ {static} PROPAGATION_REQUIRES_NEW : int = 3
+ {static} PROPAGATION_NOT_SUPPORTED : int = 4
+ {static} PROPAGATION_NEVER : int = 5
+ {static} PROPAGATION_NESTED : int = 6
+ {static} ISOLATION_DEFAULT : int = -1
+ {static} ISOLATION_READ_UNCOMMITTED : int = 1
+ {static} ISOLATION_READ_COMMITTED : int = 2
+ {static} ISOLATION_REPEATABLE_READ : int = 4
+ {static} ISOLATION_SERIALIZABLE : int = 8
+ {static} TIMEOUT_DEFAULT : int = -1
{abstract} getPropagationBehavior() : int
{abstract} getIsolationLevel() : int
{abstract} getTimeout() : int
{abstract} isReadOnly() : boolean
{abstract} getName() : String
}
interface TransactionAttribute extends TransactionDefinition {
{abstract} getQualifier() : String
{abstract} rollbackOn(Throwable ex) : boolean
}
class DefaultTransactionDefinition implements TransactionDefinition {
- propagationBehavior : int = PROPAGATION_REQUIRED
- isolationLevel : int = ISOLATION_DEFAULT
- timeout : int = TIMEOUT_DEFAULT
- readOnly : boolean = false
- name : String
}
interface InitializingBean {
{abstract} afterPropertiesSet() : void
}
interface TransactionOperations {
{abstract} execute(TransactionCallback<T> action) : T
}
class TransactionTemplate extends DefaultTransactionDefinition implements TransactionOperations, InitializingBean {
- transactionManager : PlatFormTransactionManager
.. Constructor ..
+ TransactionTemplate()
+ TransactionTemplate(PlatFormTransactionManager)
+ TransactionTemplate(PlatFormTransactionManager, TransactionDefinition)
+ execute(TransactionCallback<T> action) : T
}
class DefaultTransactionAttribute extends DefaultTransactionDefinition implements TransactionAttribute {
- qualifier : String
- descriptor : String
+ rollbackOn(Throwable ex)) : boolean
}
class RuleBasedTransactionAttribute extends DefaultTransactionAttribute {
- rollbackRules : List<RollbackRuleAttribute>
}
class RollbackRuleAttribute {
+ {static} ROLLBACK_ON_RUNTIME_EXCEPTIONS : RollbackRuleAttribute
- exceptionName : String
+ RollbackRuleAttribute(Class<?>)
+ RollbackRuleAttribute(String)
+ rollbackOn(Throwable ex) : boolean
}
RuleBasedTransactionAttribute "1" *- "n" RollbackRuleAttribute
@enduml |
177cf656b5bedb6d5dd02e76ea5870ee89de45e3 | 678df69f6a8d26d87af28413f82e510bbb664316 | /app/src/main/java/org/devio/as/proj/hi_jetpack/viewmodel/savedStateRegistry.puml | 23f7e90a033cc719358279bbfc9906c52e89c768 | [
"Apache-2.0"
] | permissive | Seachal/hi_jetpack | 8b24b67353179cafc09d535b700b0e855f8b1fc4 | 2f503093a009172313d2f90c82fd6c4556db597b | refs/heads/master | 2022-12-09T15:42:39.085756 | 2020-08-31T08:25:53 | 2020-08-31T08:25:53 | 291,397,238 | 0 | 0 | null | 2020-08-30T04:07:07 | 2020-08-30T04:07:07 | null | UTF-8 | PlantUML | false | false | 983 | puml | @startuml
class SavedStateRegistry{
SafeIterableMap<String, SavedStateProvider> mComponents
Bundle mRestoredState//每个SavedStateHandle的子Bundle会一一的被存储在这里
}
class SavedStateHandle1{
Map<String, Object> mRegular;//这就是存储数据的地方
Bundle savedState()//数据存储时会将mRegular组装成bundle返回
}
class SavedStateHandle2{
Map<String, Object> mRegular;//这就是存储数据的地方
Bundle savedState()//数据存储时会将mRegular组装成bundle返回
}
class SavedStateHandle3{
Map<String, Object> mRegular;//这就是存储数据的地方
Bundle savedState()//数据存储时会将mRegular组装成bundle返回
}
class ViewModel1 {
}
class ViewModel2 {
}
class ViewModel3 {
}
SavedStateRegistry-->SavedStateHandle1
SavedStateRegistry-->SavedStateHandle2
SavedStateRegistry-->SavedStateHandle3
SavedStateHandle1-->ViewModel1
SavedStateHandle2-->ViewModel2
SavedStateHandle3-->ViewModel3
@enduml |
024e0269a62b47474da2612ad8652fa55f7c2fc4 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/AttributeDateTimeType.puml | a54c37ab27f8194cfc3d05fb84527b81c010cd84 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 395 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface AttributeDateTimeType [[AttributeDateTimeType.svg]] extends AttributeType {
name: String
}
interface AttributeType [[AttributeType.svg]] {
name: String
}
@enduml
|
812a5cc69b0867233057f40e64693c0c19afd6bc | 372d0fe94d7e59fd48620c687fee8fc94841408b | /deadheat-lock-example/microservices-example/searching-service/src/main/java/com/vrush/microservices/searching/resources/resources.plantuml | b018148f918d943e146cd84487b8a526361ad00c | [
"Apache-2.0"
] | permissive | vrushofficial/deadheat-lock | 4ae44e23fea2ad57db17aadeba58e39ef4f63822 | 11c516a2ca0e58dd2d6b2ef8c54da0975fcbe5d2 | refs/heads/main | 2023-01-14T17:28:38.161881 | 2020-11-29T11:11:55 | 2020-11-29T11:11:55 | 310,531,739 | 2 | 1 | null | 2020-11-19T08:16:25 | 2020-11-06T08:06:52 | CSS | UTF-8 | PlantUML | false | false | 1,109 | plantuml | @startuml
title __RESOURCES's Class Diagram__\n
namespace com.vrush.microservices.searching {
namespace resources {
class com.vrush.microservices.searching.resources.BookingResource {
{static} - log : Logger
+ BookingResource()
+ findAll()
}
}
}
namespace com.vrush.microservices.searching {
namespace resources {
class com.vrush.microservices.searching.resources.RoomResource {
{static} - log : Logger
+ RoomResource()
+ findAll()
+ findAllAvailableRooms()
+ findById()
+ findUnavailableDates()
}
}
}
com.vrush.microservices.searching.resources.BookingResource o-- com.vrush.microservices.searching.service.BookingService : service
com.vrush.microservices.searching.resources.RoomResource o-- com.vrush.microservices.searching.service.RoomService : service
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
7a3b9a805ac57afc0180404ce50fecd71ce0557a | ad93d4597e8ce23ef4a92a6f5f89ca3933de5d0c | /thingml-gen/uml/base/Base_class.plantuml | f32f674101c41c87b2f7cd90d892cac797ee9b77 | [] | no_license | iciotunifacs/thingyota-analogic | 8b22930328483203e292f4289238e4a9a9fb4949 | 97bb2cbbda81ef2c14fdb692f2cc9f3553944f84 | refs/heads/master | 2023-03-18T04:08:21.836938 | 2021-03-03T23:53:32 | 2021-03-03T23:53:32 | 342,075,851 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 842 | plantuml | @startuml
caption Things used in configuration Base
class Base <<(T,#5BBF09)PIM>> {
..▼ Port timer ▼..
▶ timer_timeout
◀ timer_start
◀ timer_cancel
..▼ Port ledRed ▼..
◀ led_ON
◀ led_OFF
..▼ Port pot ▼..
▶ read_value
}
class TimerMsgs <<(F,#BC74ED)Fragment>> {
..Messages..
-timer_start(...)
-timer_cancel(...)
-timer_timeout(...)
-ms25_tic()
-ms100_tic()
-ms500_tic()
}
class LEDMsgs <<(T,#5BBF09)PIM>> {
..Messages..
-led_ON()
-led_OFF()
}
class POTmsgs <<(F,#BC74ED)Fragment>> {
..Messages..
-read_value(...)
}
class POT <<(T,#F94918)PSM>> {
..▼ Port clock ▼..
▶ ms25_tic
..▲ Port potValue ▲..
◀ read_value
}
class LED <<(T,#F94918)PSM>> {
..▲ Port ctrl ▲..
▶ led_ON
▶ led_OFF
}
TimerMsgs <|-- Base
LEDMsgs <|-- Base
POTmsgs <|-- Base
POTmsgs <|-- POT
TimerMsgs <|-- POT
LEDMsgs <|-- LED
@enduml |
baae75dccd97ad34dbd54fdcf4778cb582be8b8c | 992706894f9987e7c39a2960fd81a3966c6e4bfa | /app/src/main/java/com/jue/meet/service/service.plantuml | 2d168f468ae810133cf3fcc7245d45f548981294 | [] | no_license | juemuel/wemeet | 66263f5fff9019db67d435e2026944c5217ab377 | 545b9b9c3620ef488e93ee99e1cc8abbaf8aa81d | refs/heads/master | 2023-06-11T19:47:41.134726 | 2023-05-25T03:14:16 | 2023-05-25T03:14:16 | 359,098,311 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,785 | plantuml | @startuml
title __SERVICE's Class Diagram__\n
namespace com.jue.meet {
namespace service {
class com.jue.meet.service.CloudService {
{static} - H_TIME_WHAT : int
- audio_iv_answer : ImageView
- audio_iv_hangup : ImageView
- audio_iv_hf : ImageView
- audio_iv_photo : CircleImageView
- audio_iv_recording : ImageView
- audio_iv_small : ImageView
- audio_ll_answer : LinearLayout
- audio_ll_hangup : LinearLayout
- audio_ll_hf : LinearLayout
- audio_ll_recording : LinearLayout
- audio_tv_status : TextView
- callId : String
- callTimer : int
- disposable : Disposable
- isCallOrReceiver : boolean
- isCallTo : int
- isDrag : boolean
- isHF : boolean
- isMove : boolean
- isReceiverTo : int
- isRecording : boolean
- isSmallShowLocal : boolean
- lpSmallView : LayoutParams
- mFullAudioView : View
- mFullVideoView : View
- mHandler : Handler
- mLastX : int
- mLastY : int
- mLocalView : SurfaceView
- mRemoteView : SurfaceView
- mSmallAudioView : View
- mSmallTime : TextView
- video_big_video : RelativeLayout
- video_iv_photo : CircleImageView
- video_ll_answer : LinearLayout
- video_ll_hangup : LinearLayout
- video_ll_info : LinearLayout
- video_small_video : RelativeLayout
- video_tv_name : TextView
- video_tv_status : TextView
- video_tv_time : TextView
+ onBind()
+ onClick()
+ onCreate()
+ onDestroy()
+ onMessageEvent()
- createSmallAudioView()
- goneAudioView()
- goneVideoView()
- initService()
- initWindow()
- linkCloudServer()
- parsingImMessage()
- pushBitmap()
- pushSystem()
- saveAudioRecord()
- saveNewFriend()
- saveVideoRecord()
- updateVideoView()
- updateWindowInfo()
}
}
}
com.jue.meet.service.CloudService .up.|> android.view.View.OnClickListener
com.jue.meet.service.CloudService -up-|> android.app.Service
com.jue.meet.service.CloudService o-- com.jue.framework.manager.MediaPlayerManager : mAudioCallMedia
com.jue.meet.service.CloudService o-- com.jue.framework.manager.MediaPlayerManager : mAudioHangupMedia
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
7e42027f6c320b6acb11cce79b1530c6a7f93690 | 3217ad97d718c01e9991df469b195866b41d299b | /docs/assets/data-model.puml | a4edaaef859e8803e07e55591b1e3b3e5e6bcc10 | [] | no_license | mazaaxi/vuex-discussion | 4351a31e2d2bbc6926e30c01cdc710affcb548b7 | 45f38ce9cce6e2bdd265eb6a21dffc6fcb3237f3 | refs/heads/master | 2021-10-19T17:54:33.548482 | 2019-02-22T18:10:04 | 2019-02-22T18:10:04 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 758 | puml | @startuml{OnlyBox.png}
class ProductState {
+all: Product[]
}
class ProductModule {
+all: Product[]
+getAll(): Promise<void>
+getById(productId: string): Product
+decrementInventory(productId: number): void
}
class CartState {
+items: CartItem[]
+checkoutStatus: CheckoutStatus
}
class CartModule {
+checkoutStatus: CheckoutStatus
+items: CartItem[]
+totalPrice: number
+setItems(items: CartItem[]): void
+setCheckoutStatus(status: CheckoutStatus): void
+pushProductToCart(product Product): void
+incrementItemQuantity(productId: string): void
+checkout(): Promise<void>
+addProductToCart(productId: string): Promise<void>
}
ProductModule *-d- ProductState
CartModule *-d- CartState
CartModule -l-> ProductModule
@enduml |
0f2adc389cf1e970fa3c6dea3aa1d25c3a0775db | a1eb6871a4ccbc6135b331ae824db91ec7b71e4e | /build/lateinvoicewithpayment@0.5.0.puml | be50dd544c1f5481d5ed3be4d8132383642dc3da | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"CC-BY-4.0"
] | permissive | accordproject/cicero-template-library | 737586850933daac2fbff2ff8b2d60dd50526b80 | 35e6c93ba9d9e78d9384c44a78d85ac216d9e9ea | refs/heads/main | 2023-04-27T01:07:05.932361 | 2022-08-26T13:02:59 | 2022-08-26T13:02:59 | 109,224,687 | 77 | 149 | Apache-2.0 | 2023-04-20T21:43:00 | 2017-11-02T06:11:37 | HTML | UTF-8 | PlantUML | false | false | 791 | puml | @startuml
class org.accordproject.lateinvoicewithpayment.LateInvoiceContract << (A,green) >> {
+ Duration maximumDelay
+ AccordParty purchaser
+ AccordParty supplier
}
org.accordproject.lateinvoicewithpayment.LateInvoiceContract --|> org.accordproject.cicero.contract.AccordContract
class org.accordproject.lateinvoicewithpayment.LateInvoiceRequest << (T,yellow) >> {
+ DateTime invoiceDue
+ MonetaryAmount amountDue
}
org.accordproject.lateinvoicewithpayment.LateInvoiceRequest --|> org.accordproject.cicero.runtime.Request
class org.accordproject.lateinvoicewithpayment.LateInvoiceResponse << (T,yellow) >> {
+ Boolean paymentRequired
+ String cause
}
org.accordproject.lateinvoicewithpayment.LateInvoiceResponse --|> org.accordproject.cicero.runtime.Response
@enduml
|
3434cdcd63212ded290958eb170f0cce2319f12a | 4e66b60562009e54e3249595d08d88573c1d7fba | /plantuml/src/PlantUmlClassDiagramGenerator.Library/InheritanceRelationship.puml | 2369c4617f3cc382445b79afcd0d87359d2a32f4 | [
"MIT"
] | permissive | pierre3/PlantUmlClassDiagramGenerator | a17a7ec5e3b547b0a9d5afee1d74436c6d602782 | 00bd84d543a14f05c95857426060e677c4668cc8 | refs/heads/master | 2023-07-06T01:15:15.436366 | 2023-05-31T13:39:56 | 2023-06-02T10:24:02 | 41,860,665 | 598 | 123 | MIT | 2023-08-20T06:56:51 | 2015-09-03T13:17:42 | C# | UTF-8 | PlantUML | false | false | 177 | puml | @startuml
class InheritanceRelationship {
+ InheritanceRelationship(baseTypeName:TypeNameText, subTypeName:TypeNameText)
}
Relationship <|-- InheritanceRelationship
@enduml
|
a1bc1b1ae23cdc5cd3618ca324a55b8cc60ed939 | 691457247a08d98a7cd8b198c7a3d8d69590a895 | /src/Diag.puml | 364f346a4f2e99b687e0dd1904faee1bc0dc3588 | [] | no_license | cphstud/TalAnalyse | 0c7fdd81df611ae20cf045890872786467be5916 | 61b17302f4d999b835b6caaf0ac6d73abd8ae555 | refs/heads/master | 2022-04-24T12:40:39.345461 | 2020-04-15T16:35:34 | 2020-04-15T16:35:34 | 255,976,479 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 253 | puml | @startuml
class Main {
main()
}
class getArr {
createNumberArr(int size):int[] arr
}
class Talanalyse {
sum : double
counter : int
computeAvg(int[] numbers) : double
computeNumbersAboveAvg(int[] numbers):int
}
Main -- Talanalyse
Main -- getArr
@enduml |
c3b7372c169334bb490795e1c417b881bf9025c8 | ecdfe15990bd33974dbdf811847adcfb4ca5abd8 | /src/main/UML/classDiagram.puml | 78180504c09644d4c02255dcb73d4503a701f5a6 | [] | no_license | PeliPeli2/roborally_backend | ba7cae89a3434ff1215d135c7929b38fa93f560b | cefa61bb165fb370ae1252cb52dffa88bec68f95 | refs/heads/master | 2023-05-28T23:05:59.168733 | 2021-06-17T09:30:30 | 2021-06-17T09:30:30 | 374,642,351 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,781 | puml | @startuml
Account <-- Player
Player <-- Game
DiceCup <-- Game
GameBoard <-- Game
ChanceCard <-- Game
class GameBoard
{
private GUI_Field[] fields;
public void setField()
public GUI_Field getField()
public String toString()
}
class ChanceCard
{
private GUI_Chance[] cards;
public void setCard()
public GUI_Field getCard()
public String toString()
}
class Game
{
private Player[] players;
private final DiceCup dice;
private final Scanner input;
private GUI gui;
private Player currentPlayer;
private boolean gameOver;
public Game()
public Game(String playerName1, String playerName2)
public boolean isGameOver()
public void close()
public void rollDice()
public void turn(Player player)
public void gameOver()
public void endGame()
public Player getCurrentPlayer()
public void changePlayer()
public void movePlayer(Player player, int roll)
}
class DiceCup
{
private final Random
private int dice1
private int dice2
public void rollDice()
public int getDice1()
public int getDice2()
public int getSum()
public boolean isSimiliar()
public boolean twoOne()
public int random(int value)
}
class Player
{
private Account account;
private String playerName;
private GUI_Player gui_player;
public Player(GUI gui)
public Player(String playerName)
public String getName()
public int getPoints()
public void addPoints(int points)
public GUI_Player getGuiPlayer()
}
class Account {
private int balance;
public Account(int balance)
public Account()
public int withdraw(int amount)
public boolean deposit(int amount)
public String toString()
public int getBalance()
}
@enduml |
f4cdc752ec7eddec3528f608fd9742537e237354 | c47063564d2342f0116fc1a017c343c926778c13 | /TD1.2.1.plantuml | 719b101e9ee0d5f5ea5e0077c089c1316e2f3edc | [
"MIT"
] | permissive | IUT-Blagnac/bcoo-maxime-cichosz | ed207d5927b07f95ec3929791a21cd5521809175 | 05637a65f17e84708f93d767e875dcb55d804543 | refs/heads/main | 2023-03-03T18:19:44.964279 | 2021-02-10T08:00:12 | 2021-02-10T08:00:12 | 335,632,565 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 387 | plantuml | @startuml
hide circle
hide empty methods
hide empty attributes
class Etudiants {
id
nom
prenom
dateNaissance
}
class Cours {
nomEnseigant
prenomEnseignant
}
class Examens {
date
coefficient
cour
}
class Note {
valeur
}
Etudiants "1..*" -- "0..*" Cours
Cours "1..*" -- "1" Examens
Etudiants "1..*" -- "0..*" Examens
(Etudiants, Examens) . Note
@enduml
|
ff6c272f5df4965867278b36c37782008c3fe5b0 | 58a1c51712abaf93ecf580b19ca3514b5a166885 | /documentation/uml/Klassendiagramm 2.puml | 2e58136ea4fcaf7fb7cef6fe034430463b9d9d71 | [] | no_license | R3dW1ne/quizduell | 0ea0bd8c4643b5a8cc6a61728a4b4cacde40b082 | 0bbd6de9730a5eafa85917bc1896c22ec7dd9a5d | refs/heads/main | 2023-07-10T17:40:05.305747 | 2021-08-17T14:20:28 | 2021-08-17T14:20:28 | 397,271,489 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,843 | puml | @startuml
'https://plantuml.com/class-diagram
QuestionList "1" *--> "-questions *" Question
Question "1" *--> "-possibleAnswers *" Answer
QuestionFile ..> Question
QuestionFile ..> Answer
Quiz ..> QuestionList
Quiz "0..1" --> "-players *" Player
Quiz "1" --> "-scores *" Score
Quiz <.. Lobby
Lobby "0..1" --> "-players *" Player
Lobby "1" *--> "-SayingList 1" SayingList
Game "1" --> "*" Quiz
Game "1" --> "1" Lobby
Game "1" --> "*" Command
QuestionList ..> QuestionFile
Game "1" --> "-QuestionList 1" QuestionList
class Game {
- lobby: Lobby
- quiz: Quiz
}
class Quiz {
- players: Set<Player>
- questions: Set<Question>
- scores: Set<Score>
- indexCurrentQuestion: int
+ Quiz(Set<Player>)
+ getNextQuestion(): String
}
class Score << entity >> {
- question: Question
- winner: Player
}
class Player {
- name: String
- lastOpponents: Stack<Player>
- numberOfVictories: int
- numberOfTies: int
- numberOfDefeats: int
+ getName()
+ getHighscore(): String
+ getLastOpponents(): Stack<Player>
+ writeQuizResults(Player, int, int, int)
}
class Lobby {
- players: Set<Player>
- doMatchMaking(): Quiz
+ outputSaying(): String
}
enum Command {
QUIT
1
2
3
HIGHSCORE
PLAY
}
class Question {
- text: String
+ Question(String, Answer)
+ getQuestionWithAnswers(): Set<String>
+ isAnwserCorrect(int): Boolean
}
class Answer{
- text: String
- correctAnswer: boolean
+ Answer(String, Boolean)
+ getAnswerWithId(): String
+ isThisAnswerCorrect(): Boolean
}
class QuestionList {
- questions: Set<Question>
- QuestionList()
+ CreateQuestions()
+ getRandomQuestions(int): Set<Question>
}
class QuestionFile {
- dir: String
- filename: String
+ QuestionFile(String, String)
+ readQuestions(): List<Question>
}
class SayingList {
- sayings: Set<String>
+ getRandomSaying(): String
+ getDefaultSayingJustBevorGameStarts(): String
}
@enduml |
fb5be0b4b6fe40f5b3429205b82e7fb67d227202 | 221c5f448e92489ed23eba7d57e6b7f170456f8c | /diagrams/ClassDiagram.puml | 47f59fd466eb6d683f94cac265ca29bf03d3ef0c | [] | no_license | bokovhu/software-project-laboratory-assignment | 04d4dfd5057ee946dcb9e84eb2829460af6f6b1b | 562730be5e4aa8dd1be9fd007618a2a4c28e7d6d | refs/heads/master | 2020-04-24T10:19:42.655964 | 2019-05-15T12:49:02 | 2019-05-15T12:49:02 | 171,890,819 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,968 | puml | @startuml
skinparam classAttributeIconSize 0
skinparam guillemet false
' ==========
' Interfaces
' ==========
interface Updatable {
+update (): void
}
' =======
' Classes
' =======
class Timer <<singleton>> {
+tick (): void
+add (updatable: Updatable): void
+remove (updatable: Updatable): void
}
class Level {
+removeAnimal (animal: Animal): void
}
class Tile {
+life: int
+isFragile: boolean
+isExit: boolean
+accept (animal: Animal): boolean
+damage (): void
+spawnWave (wave: Wave): void
+pushwave (wave: Wave): void
}
abstract class Animal {
+startLeading (leader: Animal): void
+stopLeading (): void
+kill (): void
+moveTo (targetTile: Tile): void
+use (item: Item): void
+collideWithAnimal (animal: Animal): void
+collideWithPanda (panda: Animal): void
+collideWithOrangutan (orangutan: Animal): void
+goToSleep (where: Tile): void
+jump (): void
+scare (): void
+update (): void
+leadOut (): void
}
abstract class Item {
+use (user: Animal): void
+update (): void
}
abstract class Panda {
+isAsleep: boolean
+collideWithAnimal (animal: Animal): void
+collideWithOrangutan (orangutan: Animal): void
+update (): void
+leadOut (): void
}
class SleepyPanda {
+goToSleep(where: Tile): void
}
class JumpyPanda {
+jump(): void
}
class CowardPanda {
+scare(): void
}
class Orangutan {
+collideWithAnimal (animal: Animal): void
}
class Couch {
-isTaken: boolean
+use (user: Animal): void
+update (): void
}
class GameMachine {
+update (): void
}
class ChocolateVendingMachine {
+update (): void
}
class Wardrobe {
+use (user: Animal): void
}
abstract class Wave {
+hit(animal: Animal): void
}
class SleepyWave{
+hit(animal: Animal): void
}
class BeepWave{
+hit(animal: Animal): void
}
class JumpyWave{
+hit(animal: Animal): void
}
' ===========
' Inheritance
' ===========
Updatable <|.. Animal
Updatable <|.. Item
Animal <|-- Panda
Panda<|-- SleepyPanda
Panda<|-- JumpyPanda
Panda<|-- CowardPanda
Animal <|-- Orangutan
Item <|-- Couch
Item <|-- GameMachine
Item <|-- ChocolateVendingMachine
Item <|-- Wardrobe
Wave<|-- JumpyWave
Wave<|-- SleepyWave
Wave<|-- BeepWave
' ============
' Compositions
' ============
Updatable "0..n" *-- Timer : -updatables
Tile "0..n" *-- Level : -tiles
Animal "0..n" *-- Level : -animals
' ============
' Associations
' ============
Tile "0..n" -- Tile : +neighbours
Tile <-- Animal : -standingOn
Animal "0..1" -- Tile : -currentAnimal
Animal "0..1" <-- Animal : -leaderAnimal
Animal "0..1" <-- Animal : -guidedAnimal
Tile <-- Item : -placedOn
Item "0..1" -- Tile : -placedItem
Tile <-- Wave : -origin
Wave <.. Tile
Tile <-- Level : +startTile
Tile <-- Level : +exitTile
Animal <.. Item
Item <.. Animal
Wardrobe <-- Wardrobe : -otherWardrobe
Level <.. Tile
Animal <.. Wave
Animal <.. Timer
Wave <.. Item
@enduml |
100298d1d1eca50b76d9b0b714c7fa359943a37a | 697dbbf929c29060ac754e379dbe9b6d5cf4096f | /actors/runtime/src/main/java/cloud/orbit/actors/runtime/data.puml | 04ca44aa0138d95fe08d68ca2f02c261e9482bfc | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | ceckhardt/orbit | f198765e5e459bda843ab1d239fa0ea8079c96db | 20b7caeffaec1766961da974bf9f14b36011007b | refs/heads/master | 2021-01-22T09:39:40.501471 | 2019-04-12T18:55:59 | 2019-04-12T18:55:59 | 76,073,946 | 1 | 1 | NOASSERTION | 2019-04-12T18:56:00 | 2016-12-09T22:07:21 | Java | UTF-8 | PlantUML | false | false | 1,033 | puml | @startuml
title Draft
class Message {
1: optional uint8 type
2: optional int32 messageId
3: optional int32 classId
4: optional int32 methodId
5: optional byte[] objectId
---
8: optional uuid from
9: optional uuid to
---
10: optional Header[] headers
---
15: optional byte[] payload
}
Message o-- Header
class Header {
1: optional uint32 intkey
2: optional string strkey
---
9: optional uint32 intvalue
10: optional string strValue
11: optional byte byteValue
}
class Invocation {
int messageId
int32 classId
int32 methodId
Method method
boolean oneWay
Addressable toReference
Task completion
---
NodeAddress from
NodeAddress to
----
Map<String|Integer, String|Integer> headers
----
Object[] params
}
class Response {
uint8 type
int messageId
---
NodeAddress toNode
NodeAddress fromNode
---
Map<String|Integer, String|Integer> headers
---
Object result
}
@enduml |
380c0eee2034cc04518625d662e602a1e1632305 | e3da63c3ef35e8251d9c86e32ec06e893d90197e | /diagrams/ex45.puml | 461d354f203fbbea779d479a289ef02c275cca62 | [] | no_license | kyubifang/jackson-cop3330-assignment3 | 58f376ccdbf4924e9e8ad8641db85157b80839cc | 4037c5c7682b36b2e886756aa57e9deefc11767e | refs/heads/master | 2023-07-04T11:28:30.354835 | 2021-07-26T03:58:43 | 2021-07-26T03:58:43 | 378,800,036 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 682 | puml | @startuml
'https://plantuml.com/sequence-diagram
class App {
+ Input()
grabInput()
+ generateOutput()
}
class Input {
- List: fInputs
File()
if(exercise45_input.txt?)
Scanner in(read)
while (in.hasNextLine?)
fInputs.add.replaceAll("Utilize", "Use"
else
:FileNotFoundException;
"File not found"
stop
endif
}
interface generateOutput {
if(output possible?)
createOutput()
for (i < list size)
writeListToFile()
closeOutput()
else
:IOException;
"Can't output file"
endif
}
App o--> Input
Input o--> App
generateOutput *-- App
@enduml |
33cbd96e0d5b511709bb416a959269a50344c47e | ee91868dbe44ca6d30083ba94de75dbc00939b93 | /desktop/src/uas/lntv/pacmangame/desktop/desktop.plantuml | b026f15e74c52adad46cec887b5935e64b6ee19b | [] | no_license | CruseoGithub/pacman | 3ff68054d89bed70c27f26f38477a6ac55365b0b | 27cb32503e0ef5ad903457d67361d7e3b9fb184d | refs/heads/main | 2023-04-11T02:05:41.222384 | 2021-04-27T09:09:29 | 2021-04-27T09:09:29 | 323,032,133 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 385 | plantuml | @startuml
title __DESKTOP's Class Diagram__\n
namespace uas.lntv.pacmangame.desktop {
class uas.lntv.pacmangame.desktop.DesktopLauncher {
{static} + main()
}
}
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
5b7f6333af231db33d8879ed4040e05288dfb496 | ec45fae67e49ab617ad79b8c48fba85261e319c1 | /Doku/Klassendiagramme/ROM.puml | dcf5344daeb9f5cb0c73884274efbc29f6b0a93e | [] | no_license | nicorahm99/PIC-Simulator | 5d22af8719f7b71608db155ceeb49baebcf4c8a5 | 0e7fb5f10c9392dc3f7438007859dc0f9f670aaa | refs/heads/master | 2023-05-03T22:51:08.168289 | 2021-05-29T06:15:23 | 2021-05-29T06:15:23 | 257,316,241 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 155 | puml | @startuml
class ROM {
- rom : int[]
+ ROM()
+ init() : void
+ setRom(rom:List<int>) : void
+ fetchCommand(address:int) : int
}
@enduml
|
fbfbb6302b7dd2b6e1d62db1eb9c1ffdfc61fa19 | 785a73e0a1f7e0bd43f5d518370e891f94fa46fe | /diagrams/classDiagram.puml | e8f5282e0182b85d738bf7e0762cb4f31ac96093 | [] | no_license | zafodB/CardReaderAAU | 0b706e8be025b1fa8d6012ef9032c42b1a98f890 | 6440c5b878a917df867d35b0d392daf21d91e509 | refs/heads/master | 2020-07-30T21:20:10.167389 | 2016-12-20T11:42:24 | 2016-12-20T11:42:24 | 73,619,928 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,310 | puml | @startuml
left to right direction
package com.example.filip.cardreaderaau{
package networking{
class Access {
String message;
boolean accessGranted;
+ String getMessage();
+ boolean isAccessGranted();
}
class Details
class UserDetails extends Details {
String cardID;
String accessLvl;
+ void setAccessLvl();
+ void setCardID();
}
class CardDetails extends Details{
String cardID;
String accessLvl;
+ void setAccessLvl();
+ void setCardID();
}
note "Note that only difference between\nthese two classes is in annotation\n@SerializedName in front of\n the cardID variable." as N1
CardDetails .. N1
UserDetails .. N1
interface MyRetrofitApi {
+ Call<Access> checkCardCard(String, CardDetails);
+ Call<Access> checkCardHCE(String, UserDetails);
}
class RestService{
+ {static} String SERVER_URL;
+ {static} MyRetrofitAPI;
+ {static} MyRetrofitAPI getInstance();
}
}
package ui{
class MainActivity implements StartAnimationInterface{
- {static} String FRAGMENT_TAG;
- WaitingFragment;
+ {static} int READER_FLAGS;
# void onCreate(Bundle)
+ void notifyAnimation(int)
WaitingFragment getFragment();
}
class MyReaderCallback {
- StartAnimationInterface mStartAnim;
- MainActivity currentActivity;
- int status;
MyReaderCallback(MainActivity);
+ void onTagDiscovered(Tag);
- void contactServer(String, int);
- Details wrapCardData(int, String, int);
- void notifyAnim(int);
- {static} byte[] BuildSelectApdu(String);
- {static} byte[] HexStringToByteArray(String);
}
interface StartAnimationInterface{
void notifyAnimation(int);
}
class WaitingFragment{
ImageView myImageView;
AnimationDrawable mAnimation;
Animation animationFade;
TextView statusMessage;
TransitionDrawable transition;
View view;
private String messagePasser;
Spinner mSpinner;
+ WaitingFragment();
+ void onCreate(Bundle);
+ View onCreateView(LayoutInflater,
ViewGroup, Bundle);
+ void triggerAnim(int);
void runAnimation();
+ Spinner getmSpinner();
}
}
class Constants {
+ {static} String TAG;
+ {static} int STATUS_TAG_ERROR;
+ {static} int STATUS_ACCESS_GRANTED;
+ {static} int STATUS_ACCESS_DENIED;
+ {static} int STATUS_SERVER_ERROR;
+ {static} int TAG_TYPE_USER;
+ {static} int TAG_TYPE_CARD;
+ {static} String SELECT_APDU_HEADER;
+ {static} String ACCESSSYSTEM_AID;
}
}
@enduml |
7c24ae6303b6a856f7697ceb952283de26d6e2a1 | 3a142de7a6e7b4ce7ce96bd96b03f27c6af07fef | /SVG Code Generator Implementing Abstract Factory/plantuml/Program.puml | 6bd00c514f5316619094a795e336d671e4f1ce56 | [] | no_license | LiamAspell/Software-Design-Patterns | 9d7fdb2b542591e882c8fae95e4f18a2515e4881 | a0ce2c77c269a8049708560307b63b5257c64f1b | refs/heads/main | 2023-02-19T10:29:54.607519 | 2021-01-24T03:24:26 | 2021-01-24T03:24:26 | 328,373,749 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,105 | puml | @startuml
abstract class ShapeCreator {
+ {abstract} FactoryMethod() : IShape
+ declareShape() : string
}
class RectangleFactory {
+ <<override>> FactoryMethod() : IShape
}
class CircleFactory {
+ <<override>> FactoryMethod() : IShape
}
class LineFactory {
+ <<override>> FactoryMethod() : IShape
}
class EllipseFactory {
+ <<override>> FactoryMethod() : IShape
}
class PolygonFactory {
+ <<override>> FactoryMethod() : IShape
}
class PolylineFactory {
+ <<override>> FactoryMethod() : IShape
}
class PathFactory {
+ <<override>> FactoryMethod() : IShape
}
interface IShape {
+ Operation() : String
}
class RectangleShape {
+ X : int <<get>>
+ Y : int <<get>>
+ W : int <<get>>
+ H : int <<get>>
+ strokeWidth : int <<get>>
+ Operation() : string
}
class CircleShape {
+ X : int <<get>>
+ Y : int <<get>>
+ R : int <<get>>
+ strokeWidth : int <<get>>
+ Operation() : String
}
class EllipseShape {
+ xRadius : int <<get>> <<set>>
+ yRadius : int <<get>> <<set>>
+ xCentre : int <<get>> <<set>>
+ yCentre : int <<get>> <<set>>
+ strokeWidth : int <<get>>
+ Operation() : string
}
class LineShape {
+ x1 : int <<get>> <<set>>
+ y1 : int <<get>> <<set>>
+ x2 : int <<get>> <<set>>
+ y2 : int <<get>> <<set>>
+ strokeWidth : int <<get>>
+ Operation() : string
}
class PolygonShape {
+ strokeWidth : int <<get>>
+ Operation() : string
}
class PolylineShape {
+ strokeWidth : int <<get>>
+ Operation() : string
}
class PathShape {
+ strokeWidth : int <<get>>
+ Operation() : string
}
class ShapeClient {
+ ClientCode(creator:ShapeCreator) : String
+ Main(type:string) : String
}
class Program {
{static} Main(args:string[]) : void
+ {static} quitApp() : void
+ {static} writeFile(Canvas:Stack<String>) : void
}
ShapeCreator <|-- RectangleFactory
ShapeCreator <|-- CircleFactory
ShapeCreator <|-- LineFactory
ShapeCreator <|-- EllipseFactory
ShapeCreator <|-- PolygonFactory
ShapeCreator <|-- PolylineFactory
ShapeCreator <|-- PathFactory
IShape <|-- RectangleShape
RectangleShape o-> "rnd" Random
RectangleShape --> "fill" String
RectangleShape --> "stroke" String
IShape <|-- CircleShape
CircleShape o-> "rnd" Random
CircleShape --> "fill" String
CircleShape --> "stroke" String
IShape <|-- EllipseShape
EllipseShape o-> "rnd" Random
EllipseShape --> "fill" String
EllipseShape --> "stroke" String
IShape <|-- LineShape
LineShape o-> "rnd" Random
LineShape --> "fill" String
LineShape --> "stroke" String
IShape <|-- PolygonShape
PolygonShape o-> "rnd" Random
PolygonShape --> "fill" String
PolygonShape --> "stroke" String
IShape <|-- PolylineShape
PolylineShape o-> "rnd" Random
PolylineShape o-> "r" String
PolylineShape --> "fill" String
PolylineShape --> "stroke" String
IShape <|-- PathShape
PathShape o-> "rnd" Random
PathShape --> "fill" String
PathShape --> "stroke" String
PathShape o-> "r" String
@enduml
|
6dba37b7da7038b5f4922f875275a7d1b8011a36 | 8d792796430b4bb3c9faf02c6f755aed8df00c4e | /src/main/resources/documentation/diagram code/Repositorios.puml | 77bdf658e82db2e74d4eaf649601fcba92a3bd28 | [] | no_license | felipeandradevalenzuela/desafio-spring | d8871141770c0415c77a38dc403878c6ef65191d | 872820d9729580bdbb1c96481d28308bfe07d105 | refs/heads/main | 2023-05-14T22:53:34.299925 | 2021-06-13T02:34:20 | 2021-06-13T02:34:20 | 375,179,846 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,037 | puml | @startuml
package Repositories <<Folder>> {
class MainRepo {
+ void createFile(Path)
+ void writeFile(File, Object[])
}
class ProductRepository extends MainRepo implements IProductRepository{
- Path newFilePath
- File file
- HashMap<Integer, List<PublicationPromo>> list
+ HashMap<Integer, List<PublicationPromo>> readFile(File)
}
class UserRepository extends MainRepo implements IUserRepository{
- Path newFilePath
- File file
- List<User> list
+ List<User> readFile(File)
}
interface IProductRepository {
+ ResponseEntity<> addNewPost(Publication)
+ ResponseEntity<> addNewPromoPost(PublicationPromo)
+ HashMap<Integer, List<PublicationPromo>> getList()
}
interface IUserRepository {
+ ResponseEntity<> followUser(int, int)
+ ResponseEntity<> unfollowUse(int, int)
+ List<User> getList()
+ User setAsSeller(int)
+ User getUser(int)
}
}
@enduml |
da54ff52a07323635979cc439549efc8809f3f2a | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/ProjectUpdateAction.puml | e35d3994ead3a67404f1dd42e5f63ac40eabd9d2 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 4,893 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface ProjectUpdateAction [[ProjectUpdateAction.svg]] {
action: String
}
interface ProjectChangeBusinessUnitStatusOnCreationAction [[ProjectChangeBusinessUnitStatusOnCreationAction.svg]] {
action: String
status: [[BusinessUnitConfigurationStatus.svg BusinessUnitConfigurationStatus]]
}
interface ProjectChangeCartsConfigurationAction [[ProjectChangeCartsConfigurationAction.svg]] {
action: String
cartsConfiguration: [[CartsConfiguration.svg CartsConfiguration]]
}
interface ProjectChangeCountriesAction [[ProjectChangeCountriesAction.svg]] {
action: String
countries: [[String.svg List<String>]]
}
interface ProjectChangeCountryTaxRateFallbackEnabledAction [[ProjectChangeCountryTaxRateFallbackEnabledAction.svg]] {
action: String
countryTaxRateFallbackEnabled: Boolean
}
interface ProjectChangeCurrenciesAction [[ProjectChangeCurrenciesAction.svg]] {
action: String
currencies: [[String.svg List<String>]]
}
interface ProjectChangeLanguagesAction [[ProjectChangeLanguagesAction.svg]] {
action: String
languages: [[String.svg List<String>]]
}
interface ProjectChangeMessagesConfigurationAction [[ProjectChangeMessagesConfigurationAction.svg]] {
action: String
messagesConfiguration: [[MessagesConfigurationDraft.svg MessagesConfigurationDraft]]
}
interface ProjectChangeMessagesEnabledAction [[ProjectChangeMessagesEnabledAction.svg]] {
action: String
messagesEnabled: Boolean
}
interface ProjectChangeNameAction [[ProjectChangeNameAction.svg]] {
action: String
name: String
}
interface ProjectChangeOrderSearchStatusAction [[ProjectChangeOrderSearchStatusAction.svg]] {
action: String
status: [[OrderSearchStatus.svg OrderSearchStatus]]
}
interface ProjectChangeProductSearchIndexingEnabledAction [[ProjectChangeProductSearchIndexingEnabledAction.svg]] {
action: String
enabled: Boolean
}
interface ProjectChangeShoppingListsConfigurationAction [[ProjectChangeShoppingListsConfigurationAction.svg]] {
action: String
shoppingListsConfiguration: [[ShoppingListsConfiguration.svg ShoppingListsConfiguration]]
}
interface ProjectSetBusinessUnitAssociateRoleOnCreationAction [[ProjectSetBusinessUnitAssociateRoleOnCreationAction.svg]] {
action: String
associateRole: [[AssociateRoleResourceIdentifier.svg AssociateRoleResourceIdentifier]]
}
interface ProjectSetExternalOAuthAction [[ProjectSetExternalOAuthAction.svg]] {
action: String
externalOAuth: [[ExternalOAuth.svg ExternalOAuth]]
}
interface ProjectSetShippingRateInputTypeAction [[ProjectSetShippingRateInputTypeAction.svg]] {
action: String
shippingRateInputType: [[ShippingRateInputType.svg ShippingRateInputType]]
}
interface ProjectUpdate [[ProjectUpdate.svg]] {
version: Long
actions: [[ProjectUpdateAction.svg List<ProjectUpdateAction>]]
}
ProjectUpdateAction --> ProjectChangeBusinessUnitStatusOnCreationAction #blue;text:blue : "action : changeMyBusinessUnitStatusOnCreation"
ProjectUpdateAction --> ProjectChangeCartsConfigurationAction #blue;text:blue : "action : changeCartsConfiguration"
ProjectUpdateAction --> ProjectChangeCountriesAction #blue;text:blue : "action : changeCountries"
ProjectUpdateAction --> ProjectChangeCountryTaxRateFallbackEnabledAction #blue;text:blue : "action : changeCountryTaxRateFallbackEnabled"
ProjectUpdateAction --> ProjectChangeCurrenciesAction #blue;text:blue : "action : changeCurrencies"
ProjectUpdateAction --> ProjectChangeLanguagesAction #blue;text:blue : "action : changeLanguages"
ProjectUpdateAction --> ProjectChangeMessagesConfigurationAction #blue;text:blue : "action : changeMessagesConfiguration"
ProjectUpdateAction --> ProjectChangeMessagesEnabledAction #blue;text:blue : "action : changeMessagesEnabled"
ProjectUpdateAction --> ProjectChangeNameAction #blue;text:blue : "action : changeName"
ProjectUpdateAction --> ProjectChangeOrderSearchStatusAction #blue;text:blue : "action : changeOrderSearchStatus"
ProjectUpdateAction --> ProjectChangeProductSearchIndexingEnabledAction #blue;text:blue : "action : changeProductSearchIndexingEnabled"
ProjectUpdateAction --> ProjectChangeShoppingListsConfigurationAction #blue;text:blue : "action : changeShoppingListsConfiguration"
ProjectUpdateAction --> ProjectSetBusinessUnitAssociateRoleOnCreationAction #blue;text:blue : "action : setMyBusinessUnitAssociateRoleOnCreation"
ProjectUpdateAction --> ProjectSetExternalOAuthAction #blue;text:blue : "action : setExternalOAuth"
ProjectUpdateAction --> ProjectSetShippingRateInputTypeAction #blue;text:blue : "action : setShippingRateInputType"
ProjectUpdateAction --> ProjectUpdate #green;text:green : "actions"
@enduml
|
d2808513001525016217aaec073d5153e09be778 | 47cf6465f489b73ef74f9af21b972198ba7d9077 | /uml/itb.puml | 60ddd6d389207100b28297fb276c04959fae5de6 | [] | no_license | elllizard/itb | 0c27c5ac70581d09534f4d68c577b79b6d5cbf94 | f54b72d3249b54834da7efa084ffdae156f5f8ed | refs/heads/master | 2023-05-14T01:50:50.221580 | 2021-06-02T01:50:00 | 2021-06-02T01:50:00 | 372,172,499 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 11,650 | puml | @startuml
class Startup {
+ Startup(configuration:IConfiguration)
+ Configuration : IConfiguration <<get>>
+ ConfigureServices(services:IServiceCollection) : void
+ Configure(app:IApplicationBuilder, env:IWebHostEnvironment) : void
}
class Program {
+ {static} Main(args:string[]) : void
+ {static} CreateHostBuilder(args:string[]) : IHostBuilder
}
class NotificationsController {
- <<readonly>> _logger : ILogger<NotificationsController>
- <<readonly>> _notificationsService : INotificationsService
+ NotificationsController(logger:ILogger<NotificationsController>, notificationsService:INotificationsService)
+ <<async>> Notify(update:Update) : Task<IActionResult>
}
Controller <|-- NotificationsController
class TelegramConfiguration {
+ Token : string <<get>> <<set>>
+ WebhookPath : string <<get>> <<set>>
}
class ApplicationConfiguration {
+ Url : string <<get>> <<set>>
+ ApiUrl : string <<get>> <<set>>
}
class HomeKeyboard {
+ <<override>> Message : string <<get>>
+ <<override>> Markup : ReplyKeyboardMarkup <<get>>
}
Keyboard <|-- HomeKeyboard
class ProfileNotAuthorizedKeyboard {
+ <<override>> Message : string <<get>>
+ <<override>> Markup : ReplyKeyboardMarkup <<get>>
}
Keyboard <|-- ProfileNotAuthorizedKeyboard
class ProfileAuthorizedKeyboard {
+ <<override>> Message : string <<get>>
+ <<override>> Markup : ReplyKeyboardMarkup <<get>>
}
Keyboard <|-- ProfileAuthorizedKeyboard
abstract class Keyboard {
+ {abstract} Message : string <<get>>
+ {abstract} Markup : ReplyKeyboardMarkup <<get>>
}
class BackToHomeKeyboard {
+ <<override>> Message : string <<get>>
+ <<override>> Markup : ReplyKeyboardMarkup <<get>>
}
Keyboard <|-- BackToHomeKeyboard
class CompareAuthorizedKeyboard {
+ <<override>> Message : string <<get>>
+ <<override>> Markup : ReplyKeyboardMarkup <<get>>
}
Keyboard <|-- CompareAuthorizedKeyboard
class AnalyzeAuthorizedKeyboard {
+ <<override>> Message : string <<get>>
+ <<override>> Markup : ReplyKeyboardMarkup <<get>>
}
Keyboard <|-- AnalyzeAuthorizedKeyboard
class ProfileUsernameDeleteKeyboard {
+ <<override>> Message : string <<get>>
+ <<override>> Markup : ReplyKeyboardMarkup <<get>>
}
Keyboard <|-- ProfileUsernameDeleteKeyboard
class ExtendedStatisticModel {
+ TotalLikes : int <<get>> <<set>>
+ MinLikes : int <<get>> <<set>>
+ MaxLikes : int <<get>> <<set>>
+ TotalComments : int <<get>> <<set>>
+ MinComments : int <<get>> <<set>>
+ MaxComments : int <<get>> <<set>>
}
StatisticModel <|-- ExtendedStatisticModel
class ChatModel {
+ Id : string <<get>> <<set>> = null
+ ChatId : long <<get>> <<set>>
+ Username : string <<get>> <<set>> = null
+ Path : string <<get>> <<set>> = null
+ State : string <<get>> <<set>> = null
+ CreatedAt : DateTime <<get>> <<set>>
+ UpdatedAt : DateTime <<get>> <<set>>
}
class StatisticModel {
+ Id : string <<get>> <<set>> = null
+ Username : string <<get>> <<set>> = null
+ AvatarUrl : string <<get>> <<set>>
+ PostsCount : int <<get>> <<set>>
+ FollowedBy : int <<get>> <<set>>
+ Follows : int <<get>> <<set>>
+ Posts : List<StatisticsPostsModel> <<get>> <<set>>
+ CreatedAt : DateTime <<get>> <<set>>
+ UpdatedAt : DateTime <<get>> <<set>>
}
class StatisticsPostsModel {
+ LikesCount : int <<get>> <<set>>
+ CommentsCount : int <<get>> <<set>>
}
class HomeCommand {
+ <<override>> Name : string <<get>>
+ <<override>> Path : string <<get>>
+ <<override>> <<async>> Init(update:Update, notificationsService:INotificationsService) : Task
+ <<override>> <<async>> Execute(update:Update, notificationsService:INotificationsService) : Task
}
Command <|-- HomeCommand
class ProfileUpdateUsernameCommand {
+ <<override>> Name : string <<get>>
+ <<override>> Path : string <<get>>
+ <<override>> <<async>> Init(update:Update, notificationsService:INotificationsService) : Task
+ <<override>> <<async>> Execute(update:Update, notificationsService:INotificationsService) : Task
}
Command <|-- ProfileUpdateUsernameCommand
class ProfileDeleteUsernameCommand {
+ <<override>> Name : string <<get>>
+ <<override>> Path : string <<get>>
+ <<override>> <<async>> Init(update:Update, notificationsService:INotificationsService) : Task
+ <<override>> <<async>> Execute(update:Update, notificationsService:INotificationsService) : Task
}
Command <|-- ProfileDeleteUsernameCommand
class CompareProfilesCommand {
+ <<override>> Name : string <<get>>
+ <<override>> Path : string <<get>>
+ <<override>> <<async>> Init(update:Update, notificationsService:INotificationsService) : Task
+ <<override>> <<async>> Execute(update:Update, notificationsService:INotificationsService) : Task
}
Command <|-- CompareProfilesCommand
class ProfileCommand {
+ <<override>> Name : string <<get>>
+ <<override>> Path : string <<get>>
+ <<override>> <<async>> Init(update:Update, notificationsService:INotificationsService) : Task
+ <<override>> <<async>> Execute(update:Update, notificationsService:INotificationsService) : Task
}
Command <|-- ProfileCommand
abstract class Command {
+ {abstract} Name : string <<get>>
+ {abstract} Path : string <<get>>
+ {abstract} Init(update:Update, notificationsService:INotificationsService) : Task
+ {abstract} Execute(update:Update, notificationsService:INotificationsService) : Task
+ <<async>> CheckBeforeHandle(update:Update, notificationsService:INotificationsService) : Task
+ <<async>> Error(update:Update, notificationsService:INotificationsService) : Task
+ NameEquals(name:string) : bool
+ PathEquals(path:string) : bool
}
class Commands {
- <<readonly>> _commands : List<Command>
+ Commands()
+ GetCommandByName(name:string) : Command
+ GetCommandByPath(path:string) : Command
}
class ProfileAddUsernameCommand {
+ <<override>> Name : string <<get>>
+ <<override>> Path : string <<get>>
+ <<override>> <<async>> Init(update:Update, notificationsService:INotificationsService) : Task
+ <<override>> <<async>> Execute(update:Update, notificationsService:INotificationsService) : Task
}
Command <|-- ProfileAddUsernameCommand
class ProfileAnalyzeMyProfileCommand {
+ <<override>> Name : string <<get>>
+ <<override>> Path : string <<get>>
+ <<override>> <<async>> Init(update:Update, notificationsService:INotificationsService) : Task
+ <<override>> <<async>> Execute(update:Update, notificationsService:INotificationsService) : Task
}
Command <|-- ProfileAnalyzeMyProfileCommand
class AnalyzeProfileCommand {
+ <<override>> Name : string <<get>>
+ <<override>> Path : string <<get>>
+ <<override>> <<async>> Init(update:Update, notificationsService:INotificationsService) : Task
+ <<override>> <<async>> Execute(update:Update, notificationsService:INotificationsService) : Task
}
Command <|-- AnalyzeProfileCommand
interface IChatService {
+ ReadOrCreateAsync(chatId:long) : Task<ChatModel>
+ UpdatePathAsync(chatId:long, path:string) : Task<ChatModel>
+ UpdateUsernameAsync(chatId:long, username:string) : Task<ChatModel>
+ UpdateStateAsync(chatId:long, state:string) : Task<ChatModel>
+ CreateAsync(chatId:long, username:string, path:string, state:string) : Task<ChatModel>
+ ReadAsync(chatId:long) : Task<ChatModel>
+ UpdateAsync(chatId:long, username:string, path:string, state:string) : Task<ChatModel>
+ DeleteAsync(chatId:long) : Task
}
class ChatService {
- <<readonly>> _logger : ILogger<ChatService>
- <<readonly>> _applicationConfig : ApplicationConfiguration
+ ChatService(logger:ILogger<ChatService>, applicationConfig:IOptions<ApplicationConfiguration>)
+ <<async>> ReadOrCreateAsync(chatId:long) : Task<ChatModel>
+ <<async>> UpdatePathAsync(chatId:long, path:string) : Task<ChatModel>
+ <<async>> UpdateUsernameAsync(chatId:long, username:string) : Task<ChatModel>
+ <<async>> UpdateStateAsync(chatId:long, state:string) : Task<ChatModel>
+ <<async>> CreateAsync(chatId:long, username:string, path:string, state:string) : Task<ChatModel>
+ <<async>> ReadAsync(chatId:long) : Task<ChatModel>
+ <<async>> UpdateAsync(chatId:long, username:string, path:string, state:string) : Task<ChatModel>
+ <<async>> DeleteAsync(chatId:long) : Task
}
IChatService <|-- ChatService
interface ITelegramService {
+ SetWebhookAsync() : Task
+ SendTextMessageAsync(id:long, text:string, parseMode:ParseMode) : Task<Message>
+ SendReplyKeyboardAsync(id:long, text:string, replyKeyboard:ReplyKeyboardMarkup, parseMode:ParseMode) : Task<Message>
+ StartTypingAsync(id:long) : Task
}
class TelegramService {
- <<readonly>> _telegramConfig : TelegramConfiguration
- <<readonly>> _applicationConfig : ApplicationConfiguration
- <<readonly>> _client : TelegramBotClient
+ TelegramService(telegramConfig:IOptions<TelegramConfiguration>, applicationConfig:IOptions<ApplicationConfiguration>)
+ <<async>> SetWebhookAsync() : Task
+ <<async>> SendTextMessageAsync(id:long, text:string, parseMode:ParseMode) : Task<Message>
+ <<async>> SendReplyKeyboardAsync(id:long, text:string, replyKeyboard:ReplyKeyboardMarkup, parseMode:ParseMode) : Task<Message>
+ <<async>> StartTypingAsync(id:long) : Task
}
ITelegramService <|-- TelegramService
class StatisticService {
- <<readonly>> _logger : ILogger<StatisticService>
- <<readonly>> _applicationConfig : ApplicationConfiguration
+ StatisticService(logger:ILogger<StatisticService>, applicationConfig:IOptions<ApplicationConfiguration>)
+ <<async>> ReadAsync(username1:string, username2:string?) : Task<List<StatisticModel>>
+ CalculateStatistic(statistics:List<StatisticModel>) : List<ExtendedStatisticModel>
}
IStatisticService <|-- StatisticService
interface IStatisticService {
+ ReadAsync(username1:string, username2:string?) : Task<List<StatisticModel>>
+ CalculateStatistic(statistics:List<StatisticModel>) : List<ExtendedStatisticModel>
}
interface INotificationsService {
+ Commands : Commands <<get>>
+ HandleNotification(update:Update) : Task
+ HandleCommand(update:Update) : Task
+ InitCommandOrInitDefault(command:Command, update:Update) : Task
+ ExecuteCommandOrInitDefault(command:Command, update:Update) : Task
+ InitDefault(update:Update) : Task
+ GetLogger() : ILogger<INotificationsService>
+ GetTelegramService() : ITelegramService
+ GetChatService() : IChatService
+ GetStatisticService() : IStatisticService
}
class NotificationsService {
+ Commands : Commands <<get>>
- <<readonly>> _logger : ILogger<NotificationsService>
- <<readonly>> _telegramService : ITelegramService
- <<readonly>> _chatService : IChatService
- <<readonly>> _statisticService : IStatisticService
+ NotificationsService(logger:ILogger<NotificationsService>, telegramService:ITelegramService, chatService:IChatService, statisticService:IStatisticService)
+ <<async>> HandleNotification(update:Update) : Task
+ <<async>> HandleCommand(update:Update) : Task
+ <<async>> InitCommandOrInitDefault(command:Command, update:Update) : Task
+ <<async>> ExecuteCommandOrInitDefault(command:Command, update:Update) : Task
+ <<async>> InitDefault(update:Update) : Task
+ GetLogger() : ILogger<INotificationsService>
+ GetTelegramService() : ITelegramService
+ GetChatService() : IChatService
+ GetStatisticService() : IStatisticService
}
INotificationsService <|-- NotificationsService
@enduml
|
9d26faa76ec74ebf97b16634c7f41d4aafb67ea6 | 73f3ff9beddc0d20654b83c433cf10750e79085a | /out/production/se-lab1/MathsHelper/uml_all.puml | bbe0cfe30c252b8d6c038281b892417907bdf912 | [] | no_license | DarthRL/se-lab2-p1 | 9f8d436359168b71a507862151f96abf1bb11398 | ccc9cadac61386bdde5f86e0ee4cd2c9f2ef55b7 | refs/heads/main | 2023-01-10T15:27:10.087654 | 2020-11-02T08:27:55 | 2020-11-02T08:27:55 | 309,352,828 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 438 | puml | @startuml
class 问题生成模块 {
}
class 答案处理模块 {
}
class 统计模块 {
}
class 计时模块 {
}
class 反馈模块 {
}
class 界面模块 {
}
问题生成模块--|>界面模块
答案处理模块--|>界面模块
统计模块--|>界面模块
计时模块--|>界面模块
反馈模块--|>界面模块
答案处理模块--|>反馈模块
答案处理模块--|>统计模块
问题生成模块--|>答案处理模块
@enduml
|
f01c820f328e2b7668ba02a493ace0a2842ff5ec | 8c59fbc94a2ba7fa9a12c10991fe334cda0df128 | /metrics/cli/docs/features/doctor_output_improvements/diagrams/ci_integrations_validator_class_diagram.puml | 1a6810e7f2c93ebadf17f5f2bc33a0fe73e0ca50 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | solid-vovabeloded/flank-dashboard | 7e952fa1399585d3f15cae2ed2cab435fb82df3f | 15dae0c40823cc12886a1bb0c087442c0697ac89 | refs/heads/master | 2023-07-11T19:54:58.430004 | 2021-08-06T10:29:26 | 2021-08-06T10:29:26 | 389,593,827 | 0 | 0 | Apache-2.0 | 2021-07-26T10:33:52 | 2021-07-26T10:25:59 | null | UTF-8 | PlantUML | false | false | 4,161 | puml | @startuml ci_integrations_validator_class_diagram
package core.lib.src.util.validation {
package model {
package builder {
class ValidationResultBuilder {
- _results: Map<ValidationTarget, TargetValidationResult>
- ValidationResultBuilder._(results: Map<ValidationTarget, TargetValidationResult>): ValidationResultBuilder
+ {static} ValidationResultBuilder.createForTargets(targets: List<ValidationTarget>): ValidationResultBuilder
+ setResult(result: TargetValidationResult): void
+ setEmptyResults(result: TargetValidationResult): void
+ build(): ValidationResult
}
}
class ValidationTarget {
+ name: String
+ description: String
}
class ValidationConclusion {
+ name: String
+ indicator: String
}
class TargetValidationResult<T> {
+ data: T
+ target: ValidationTarget
+ conclusion: ValidationConclusion
+ description: String
+ details: Map<String, dynamic>
+ context: Map<String, dynamic>
+ copyWith(): TargetValidationResult
}
class ValidationResult{
+ results: UnmodifiableMapView<ValidationTarget, TargetValidationResult>
}
}
package printer {
class ValidationResultPrinter{
- _sink: StringSink
+ print(result: ValidationResult): void
}
}
}
package ci_integrations {
package integration.validation.model {
class ConfigFieldValidationConclusion {
+ {static} success: ValidationConclusion
+ {static} failure: ValidationConclusion
+ {static} unknown: ValidationConclusion
}
}
package source.cool_integration {
package config.model as cool_integration_config_model {
class CoolIntegrationSourceValidationTarget {
+ {static} accessToken: ValidationTarget
+ {static} organizationSlug: ValidationTarget
+ {static} pipelineSlug: ValidationTarget
+ {static} values: List<ValidationTarget>
}
}
package validation_delegate {
class CoolIntegrationSourceValidationDelegate {
- _client: CoolIntegrationClient
+ validateAccessToken(token: String): Future<TargetValidationResult<CoolToken>>
+ validateOrganizationSlug(slug: String): Future<TargetValidationResult<void>>
+ validatePipelineSlug(token: String): Future<TargetValidationResult<void>>
}
}
package validator {
class CoolIntegrationSourceValidator {
+ validationDelegate: CoolIntegrationSourceValidationDelegate
+ validate(config: CoolConfig): Future<ValidationResult>
}
}
}
}
TargetValidationResult --> ValidationTarget : uses
TargetValidationResult --> ValidationConclusion : uses
ValidationResult --> TargetValidationResult : uses
ValidationResult --> ValidationTarget : uses
ValidationResultBuilder -up-> ValidationResult : builds
ValidationResultBuilder --> ValidationTarget : uses
ValidationResultBuilder -up-> TargetValidationResult : uses
ValidationResultPrinter --> ValidationResult : prints
CoolIntegrationSourceValidator --> CoolIntegrationSourceValidationDelegate : uses
CoolIntegrationSourceValidator --> ValidationResult : provides
CoolIntegrationSourceValidator -left-> CoolIntegrationSourceValidationTarget : uses
CoolIntegrationSourceValidator --> TargetValidationResult : uses
CoolIntegrationSourceValidator --> ValidationResultBuilder : uses
CoolIntegrationSourceValidationDelegate --> TargetValidationResult : uses
ValidationTarget "1..*" -left-o "1" CoolIntegrationSourceValidationTarget
ValidationConclusion "1..*" -left-o "1" ConfigFieldValidationConclusion
CoolIntegrationSourceValidationDelegate -down-> ConfigFieldValidationConclusion : uses
ValidationConclusion -[hidden]down-> ValidationResultBuilder
@enduml
|
01a21db17b94164378d2310b3db1fd74ca35f422 | 4bde884fbde7b14a13a3a71e2ccb83a663cdf054 | /src/main/java/com/ycorn/patterns/flyweight/flyweight.puml | c662c262548d5cf2ec97332354087e9a823262b4 | [] | no_license | woshiwjma956/java-design-patterns-learn | 31b2a7ea2ae90dc0ca8f329066fc0fa6bdb88e7e | ebbbfa72d76f17a4db4c05823ce85cb9d82cb18a | refs/heads/master | 2021-05-18T01:05:26.324439 | 2020-05-14T09:53:28 | 2020-05-14T09:53:28 | 251,039,101 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 347 | puml | @startuml
interface Flyweight{
operator();
}
class ConcreteFlyweight{}
Flyweight <|-- ConcreteFlyweight
Flyweight <|-- UnsharedConcreteFlyWeight
class FlyweightFactory{
Map<String,Flyweight> pool;
getFlyWeight(String type);
}
Flyweight <-o FlyweightFactory
class Client
FlyweightFactory <- Client
Flyweight <- Client
@enduml |
da44418896cdafd77378630869c162e11029b13a | 103c7d514b02306b878742c09b460948c8392fe8 | /out/production/FinalProjectOOP/ie/gmit/sw/sw.plantuml | c199a796816dace467a73cb1f872d2a66a5fa130 | [] | no_license | MateuszPawlowski/AdvancedObjectOrientedProject | d40b294c59c5d1ec799207cfc0151b3e872e1482 | fb438caa914fd629bbb9aa5b614e323dc19f413c | refs/heads/main | 2023-02-21T13:53:02.078000 | 2021-01-08T10:44:24 | 2021-01-08T10:44:24 | 327,759,186 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,177 | plantuml | @startuml
title __SW's Class Diagram__\n
namespace e.gmit.sw {
class ie.gmit.sw.AppWindow {
- customers : ObservableList<Customer>
- db : EmbeddedStorageManager
- root : List<Class>
- tv : TableView<Customer>
- txtFile : TextField
+ start()
~ query()
~ storeData()
- InitializeCustomers()
- getFileChooserPane()
- getSloc()
- getTableView()
}
}
namespace e.gmit.sw {
class ie.gmit.sw.Customer {
- SLOC : int
- className : String
- isInterface : Boolean
- packageName : String
+ Customer()
+ SLOC()
+ className()
+ isInterface()
+ packageName()
}
}
namespace e.gmit.sw {
class ie.gmit.sw.Runner {
{static} + main()
}
}
ie.gmit.sw.AppWindow -up-|> javafx.application.Application
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
f030b941d2a28aac9878cfdf7b7b373a17bf8e5f | 6bd2a7ac5888af14373e6b7c3f13f0c1cc61b66c | /damas/doc/classDiagram.puml | 62a1671fdb53731394a5227b9cce001222651841 | [] | no_license | chuso/mastercloudapps | e685a78f1268b82024c04df1719145169d2ec5d9 | cfcb55c8b0c666c406e82a720bc60d66977f2c15 | refs/heads/master | 2021-07-16T03:45:28.948164 | 2019-11-17T21:59:01 | 2019-11-17T21:59:01 | 211,486,152 | 0 | 0 | null | 2020-10-13T17:09:32 | 2019-09-28T10:54:00 | Java | UTF-8 | PlantUML | false | false | 1,755 | puml | class Damas {
+ play()
}
LasDamas *-down-> Logic
LasDamas *-down-> View
class View {
+ interact(Contorller)
}
class StartView #orange {
+ interact(StartController)
}
class PlayView #orange {
+ interact(PllayController)
}
class ResumeView #orange {
+ interact(ResumeController)
}
StartView ..> StartController
PlayView ..> PlayController
ResumeView ..> ResumeController
View *-down-> StartView
View *-down-> PlayView
View *-down-> ResumeView
StartView *-down-> BoardView
PlayView *-down-> BoardView
BoardView ..> SquareView
SquareView ..> PieceView
View ..> AcceptController
class Logic {
+ getController()
}
Logic *--> State
Logic *--> Game
Logic *-down-> AcceptController
class Controller{
}
class AcceptController{
}
Controller <|-down- AcceptController
AcceptController <|-down- StartController
AcceptController <|-down- PlayController
Controller <|-down- MoveController
Controller <|-down- CancelController
AcceptController <|-down- ResumeController
Controller o--> Game
class StartController{
}
class MoveController{
}
class CancelController{
}
class ResumeController{
}
class PlayController{
+ move(Coordinate origin, Coordinate target);
}
PlayController ..> Coordinate
PlayView ..> Coordinate
class Coordinate{
}
PlayController *-down-> CancelController
PlayController *-down-> MoveController
class Game{
}
Game *-down-> Board
Game *-down-> Turno
Game ..> Error
class Board{
}
Board *-down-> "8x8" Square
Board *-down-> "1..2x12" Piece
Board ..> Error
class Square {
}
Square --> "0..1" Piece
Square *--> Color
class Piece{
}
Piece <|-down- Peon
Piece <|-down- Dama
Piece *--> Color
class Peon{
}
class Dama{
}
class Color{
}
class Turn{
}
Turn *--> Color
class State{
}
class Error{
} |
dae18e7dca2336cc145a638a0e82f65d4dfbc166 | a7c127404a1f9f8155ab1652bf21d5ced2ab73c9 | /test.puml | 65a5c9f81cb97ba3bc0c3718b1a555634c4f08a2 | [] | no_license | wepee/TD-MVC-rectangle | 96fac623b8b3f666aabbb93d366cf2e1988ca1fb | 1896dca5fb7f9f3e048694e6c1e18a21a462fa7e | refs/heads/master | 2023-02-17T01:35:05.858516 | 2021-01-15T11:24:26 | 2021-01-15T11:24:26 | 329,892,160 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,575 | puml | @startuml
class Vue.TemperatureVueCelsius {
+ void update(Observable,Object)
}
class Control.TemperatureController {
- TemperatureModel model
- TemperatureVue view
+ void augmenteDegresC()
+ void diminueDegresC()
+ void fixeDegresC(double)
+ void augmenteDegresF()
+ void diminueDegresF()
+ void fixeDegresF(double)
+ void control()
+ void setView(TemperatureVue)
}
class Model.TemperatureModel {
- double temperatureC
+ double getC()
+ void setC(double)
+ double getF()
+ void setF(double)
}
class Vue.TemperatureVueFarenheit {
+ void update(Observable,Object)
}
abstract class Vue.TemperatureVue {
# TemperatureModel model
# TemperatureController controller
- JFrame temperatureJFrame
- JTextField display
- JButton upJButton
- JButton downJButton
+ void setDisplay(String)
+ void enableWarningColor()
+ void disableWarningColor()
+ double getDisplay()
+ void addDisplayListener(ActionListener)
+ void addUpListener(ActionListener)
+ void addDownListener(ActionListener)
}
class TemperatureMVC {
+ {static} void main(String[])
}
TemperatureMVC --> Vue.TemperatureVueCelsius
TemperatureMVC --> Vue.TemperatureVueFarenheit
TemperatureMVC --> Control.TemperatureController
TemperatureMVC --> Model.TemperatureModel
Vue.TemperatureVueFarenheit --|> Vue.TemperatureVue
Vue.TemperatureVueCelsius --|> Vue.TemperatureVue
Vue.TemperatureVue ..|> java.util.Observer
Vue.TemperatureVue --o Control.TemperatureController
Model.TemperatureModel --o Control.TemperatureController
Model.TemperatureModel --o Vue.TemperatureVue
Model.TemperatureModel --|> java.util.Observable
@enduml |
82a6aec942f11ab63021e602acdc66ed73015f91 | 7b2ad814dfdb9d40989768b000914143824ccbfa | /diagrams/src/mastermind.views.console-1.plantuml | c964b798c4b280f40e88ef129728f2db1eaff3cb | [] | no_license | Master-Desarrollo-20-21/diseno-oo-ejercicio-3-mastermind-separacion-de-controladores-asantamaria779 | 73e3a184e4142803759630c893be6b32a01096bd | 96e31d105941c957532f06d6e68f149cdaaef029 | refs/heads/main | 2023-02-16T02:32:58.656290 | 2021-01-17T22:22:25 | 2021-01-17T22:22:25 | 330,498,236 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,048 | plantuml | @startuml
class mastermind.views.console.ResultView {
#void showResult(PlayController,int)
}
class mastermind.views.console.ConsoleView {
+ConsoleView()
+void visit(StartController)
+void visit(PlayController)
+void visit(ResumeController)
}
class mastermind.views.console.GameView {
-PlayController
#GameView(PlayController)
#void showGameStatus()
}
class mastermind.views.console.StartView {
#void interact()
}
class mastermind.views.console.ErrorView {
#ErrorView(Error)
#void writeln(String)
#void writeln()
}
class mastermind.views.console.PlayView {
#void interact(PlayController)
-void showFinalResult(PlayController)
}
class mastermind.views.console.ResumeView {
#void interact(ResumeController)
}
class mastermind.views.console.ProposedCombinationView {
-PlayController
+ProposedCombinationView(PlayController)
#String read()
#void showProposedCombination(int)
}
class mastermind.views.console.SecretCombinationView {
#void showSecretCombination(PlayController)
}
class mastermind.views.console.YesNoDialog {
-{static}char AFFIRMATIVE
-{static}char NEGATIVE
-{static}String SUFFIX
-{static}String MESSAGE
-char answer
#boolean read(String message)
-boolean isAfirmative()
-char getAnswer()
-boolean isNegative()
}
mastermind.views.console.ConsoleView *-down-> mastermind.views.console.StartView
mastermind.views.console.ConsoleView *-down-> mastermind.views.console.PlayView
mastermind.views.console.ConsoleView *-down-> mastermind.views.console.ResumeView
mastermind.views.console.GameView *-down-> mastermind.views.console.ResultView
mastermind.views.console.GameView *-down-> mastermind.views.console.SecretCombinationView
mastermind.views.console.ProposedCombinationView ..> mastermind.views.console.ErrorView
mastermind.views.View <|-down- mastermind.views.console.ConsoleView
mastermind.views.ErrorView <|-down- mastermind.views.console.ErrorView
mastermind.views.console.PlayView ..> mastermind.views.console.GameView
mastermind.views.console.PlayView ..> mastermind.views.console.ProposedCombinationView
mastermind.views.console.ResultView ..> mastermind.views.console.ProposedCombinationView
mastermind.views.console.ResumeView ..> mastermind.views.console.YesNoDialog
mastermind.views.console.GameView *-down-> mastermind.controllers.PlayController
mastermind.views.console.ProposedCombinationView *-down-> mastermind.controllers.PlayController
mastermind.views.console.SecretCombinationView ..> mastermind.controllers.PlayController
mastermind.views.console.ResultView ..> mastermind.controllers.PlayController
mastermind.views.console.PlayView ..> mastermind.controllers.PlayController
mastermind.views.console.ConsoleView ..> mastermind.controllers.PlayController
mastermind.views.console.ConsoleView ..> mastermind.controllers.StartController
mastermind.views.console.ConsoleView ..> mastermind.controllers.ResumeController
mastermind.views.console.ResumeView ..> mastermind.controllers.ResumeController
@enduml |
6b92c7681146ca604f8b10ba27a91780d1837bb9 | 06132bb306986359c8958effdb12134da4aa9a23 | /spring-cloud-design-pattern/behavior-iterator-pattern/src/main/resources/static/diagram.puml | 338d59f946e9a58a81d457c56907563f1c86cc23 | [] | no_license | sunnyzhy/Design-pattern | 1fe797d2af0e102be63704aad5a5e3a3d8feb5a9 | 665b5cde412e965665469af1b5011c6c280ea7d0 | refs/heads/master | 2023-07-01T15:50:37.005870 | 2023-06-13T09:33:49 | 2023-06-13T09:33:49 | 55,023,406 | 2 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 628 | puml | @startuml
Aggregate *-- Iterator
interface Aggregate {
+void add(Object obj)
+void remove(Object obj)
+Iterator getIterator()
}
class ConcreteAggregate implements Aggregate {
-List<Object> list
+void add(Object obj)
+void remove(Object obj)
+Iterator getIterator()
}
interface Iterator {
+Object first()
+Object next()
+boolean hasNext()
}
class ConcreteIterator implements Iterator {
-List<Object> list
+Object first()
+Object next()
+boolean hasNext()
}
note as N
public Iterator getIterator() {
return new ConcreteIterator(list);
}
end note
ConcreteAggregate .. N
@enduml |
c7cbfaa227c66faa3fcdaef85f553405c8a20039 | b2d33d6e2b323281a5adab60b65f5c9906c6d5ec | /exempluGrafica/src/main/java/joc/window/window.plantuml | 2bd5a6b72ac03f6334d1cd56e15549c27674787e | [] | no_license | LoghinVladDev/gameEx | b68da7b75f01cdf11afce935fac876cb4420ad68 | 3dc465af55f55b2aa5634446d2115615cc8a46f7 | refs/heads/master | 2022-10-17T05:20:03.623434 | 2020-06-11T16:03:28 | 2020-06-11T16:03:28 | 265,932,516 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,865 | plantuml | @startuml
title __WINDOW's Class Diagram__\n
namespace joc {
namespace window {
class joc.window.GameWindow {
{static} + DEFAULT_FPS : int
{static} - FRAMES_BEFORE_SHUTDOWN_DEFAULT : int
{static} - SPRITE_SHEET_DEFAULT_LOCATION : String
- drawingCanvas : Canvas
- enemies : List<Enemy>
- fps : int
- framesBeforeShutdown : int
- horizontalSpriteCount : int
{static} - instance : GameWindow
- mapToLoad : String
- projectiles : List<Projectile>
- score : int
- verticalSpriteCount : int
+ buildComponents()
+ buildLayout()
+ buildListeners()
+ buildWindow()
+ enemyThrowsArrow()
+ enemyThrowsRock()
+ getEnemies()
{static} + getInstance()
+ getPlayer()
+ getScore()
+ initialize()
+ playerThrowsRock()
+ redraw()
+ setFps()
+ setMapToLoad()
+ setScore()
+ startGame()
+ update()
- GameWindow()
- countHighScore()
- countKeys()
- updateScoreIntoDatabase()
- waitBeforeExit()
}
}
}
joc.window.GameWindow -up-|> javax.swing.JFrame
joc.window.GameWindow o-- joc.character.EnemyAI : enemyAI
joc.window.GameWindow o-- joc.map.Map : map
joc.window.GameWindow o-- joc.listener.MovementListener : movementListener
joc.window.GameWindow o-- joc.player.Player : player
joc.window.GameWindow o-- joc.assets.SpriteSheet : sheet
joc.window.GameWindow o-- joc.window.ui.UI : ui
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
11bd78195855ad2c3843a62248014b5c786a2bd2 | 0ef4371c87c2196d9c2d2706e51f4b452f6e9d19 | /4_Curso/Ingeniería_del_Software/Prácticas/1P/Diagramas/cometelotoo.plantuml | fa26dec9d69edb79a2053de6f20d26af116915db | [
"Apache-2.0"
] | permissive | AlejandroSantorum/Apuntes_Mat_IngInf | 49c41002314216a994aa60db04062e34abc065eb | c047e41d086f3028ec78ac3a663b9848862e52df | refs/heads/master | 2023-05-15T03:02:56.882342 | 2023-04-20T20:19:54 | 2023-04-20T20:19:54 | 212,392,195 | 29 | 10 | Apache-2.0 | 2023-09-09T13:03:45 | 2019-10-02T16:44:22 | Jupyter Notebook | UTF-8 | PlantUML | false | false | 3,124 | plantuml | @startuml
skinparam {
classAttributeIconSize 0
ClassBorderColor Black
ClassBackgroundColor White
ClassFontStyle bold
'ClassFontName Courier
'ClassAttributeFontName Courier
ArrowColor Black
Shadowing false
'linetype ortho
'handwritten true
'nodesep 50
dpi 200
}
'legend right
'<b>Design decisions:</b>
'1. We move methods related to payments (signContract, reimburseLandlord, etc)
'to a separate class from AirPNP. This class will contain the necessary
'information to communicate with the external payments API.
'2. We include two enumerated types which we do not link with arrows to the
'classes they are used in to avoid excesive clutter in the diagram. We use them
'as types instead.
'end legend
title Diagrama de clases para la logica y modelo de datos de Cometelotoo
hide enum methods
!pragma ratio 0.6
enum EstadoPedido {
CREADO,
ENTREGADO,
REPARTO,
EN_ESPERA,
CANCELADO
}
enum Alergenos {
}
enum MedioTransporte {
}
class App << (S, #FF7700) >> {
+ addUsuario(u : Usuario) : bool
+ addLocal(l : Local) : bool
+ addPedido(p : Pedido) : bool
+ loginUsuario(name : string, password : string) : bool
+ asignarRepartidor(p : Pedido) : bool
}
abstract class Producto {
- precio : float
- nombre : string
}
abstract class Item {
}
abstract class Usuario {
+ addNotificacion(n : String)
}
class Propietario {
+ addLocal(l : Local) : bool
}
class Repartidor {
- telefonoMovil : string
- nif : string
- transporte : MedioTransporte
- precioKM : float
- franjaTrabajo : Lista<DateTime>
- codigoPostal : Lista<string>
- activo : boolean
+ addPedido(p : Pedido) : bool
+ completarPedido(p : Pedido) : bool
}
class Cliente {
- telefonoMovil : string
- domicilio : string
- tarjetaCredito : string
+ addPedido(p : Pedido) : bool
}
class Administrador {
}
class Local {
- nombre : string
- cif : string
- telefono : string
- domicilio : string
- cuentaIBAN : string
+ addItem(it : Item) : bool
+ deleteItem(it : Item) : bool
' + searchItem(info : ?) : Item
}
class Pedido {
- fecha : Date
- hora : Time
- precio : float
+ addItem(it : Item) : bool
+ deleteItem(it : Item) : bool
+ calcularPrecio() : float
}
class Menu {
}
class Ingrediente {
- nombre : string
}
class Propio {
- alergenos : Lista<Alergenos>
}
class Externo {
- nombreProveedor : string
}
' Herencia
Propietario --|> Usuario
Repartidor --|> Usuario
Cliente --|> Usuario
Administrador --|> Usuario
Propio --|> Producto
Externo --|> Producto
Producto --|> Item
Menu --|> Item
Propio o--> Ingrediente
App *--> Pedido
App *--> Usuario
App *--> Local
Menu o--> Item
Local "1" o-- "0..*" Item
Propietario "1" o-- "0..*" Local
Repartidor "1" o-- "0..*" Pedido
Repartidor "pedidoActual" --> Pedido
Cliente "1" o-- "0..*" Pedido
Pedido "1..*" o--> Item
@enduml
|
3d960be6cf4244e710a9e3b11e2ac1527d393c11 | 6a4070a831d7e7b5ff5cd5a051c527e3591d9626 | /relazione/UML/hash.puml | 373b3e430b884ecbdc42875a3adddea8e3dd755c | [] | no_license | vFones/rbhash-galacticgraph | 8c0af27924a1a177e0f7695d5dc476b624b22a54 | 510e95816476b4d4f5c6ea8eb2ad472257b64385 | refs/heads/master | 2022-04-11T04:32:18.363655 | 2020-03-28T15:30:04 | 2020-03-28T15:30:04 | 239,470,239 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,301 | puml | @startuml hash.puml
skinparam class {
BackgroundColor WhiteSmoke
ArrowColor Grey
BorderColor DarkOrange
}
hide class circle
class Item < Data > {
{field} - _key : double
{field} - _data : Data
+ Item(double k)
+ Item(double k, Data d)
+ setKey(double k)
+ getKey() : double
+ setData(Data &data)
+ getData() : Data
}
class GenericNode < Data > {
+ GenericNode()
+ GenericNode(double &k)
+ GenericNode(double &k, D &d)
+ ~GenericNode()
+ toString() : string
+ <<friend>> operator<<(ostream &Str, GenericNode &c) : ostream&
+ <<friend>> operator<<(ostream &Str, GenericNode *c) : ostream&
}
enum state {
+ EMPTY
+ OCCUPIED
+ DELETED
}
class HashTable < Data, HF >{
{field} - *_S : vector<state>
{field} - *_T : vector<GenericNode*>
{field} - _h1 : int
{field} - _h2 : int
{field} - _m : int
{field} - _occ : int
+ HashTable( int size)
+ ~HashTable()
+ getSize() : int
+ getQuantity() : int
+ getState(int i) : state
+ getNode(int i) : GenericNode*
+ insert(double &k, D &d) : int
+ search(double &k) : int
+ search(int &j) : D
+ remove(double &k) : int
+ printKeys()
+ <<friend>> operator<<(ostream &Str, HashTable *c) : ostream&
}
Item <|-up- GenericNode
GenericNode --* HashTable
state --* HashTable
@enduml |
934e98a5f14d4d5c47baf61de8929dc437e82117 | b17d73bb345cf6b428289b8190183e8362e7859e | /images/CheckInTerminal.plantuml | a05e9f05c35a36a28b7c2726ea06d453568565c2 | [] | no_license | Joshua-Roe/advanced_software_engineering | 75d231baa9565a84c1b33f4718802480e8d1b515 | 8fab2b96db7290ee0aa30658ce968000f7a360bb | refs/heads/master | 2022-04-14T14:34:46.718884 | 2020-04-20T14:29:41 | 2020-04-20T14:29:41 | 238,440,725 | 0 | 0 | null | 2020-04-20T14:29:42 | 2020-02-05T12:05:02 | Java | UTF-8 | PlantUML | false | false | 2,003 | plantuml | @startuml
title __CheckInTerminal's Class Diagram__\n
namespace CSVGen {
class CSVGen.CSVGen {
}
}
namespace part1 {
class part1.AllBookings {
}
}
namespace part1 {
class part1.AllFlights {
}
}
namespace part1 {
class part1.Booking {
}
}
namespace part1 {
class part1.CSVReader {
}
}
namespace part1 {
class part1.Flight {
}
}
namespace part1 {
class part1.FlightCheckIn {
}
}
namespace part1 {
class part1.GUI {
}
}
namespace part2 {
class part2.CheckinCounter {
}
}
namespace part2 {
enum Log {
}
}
namespace part2 {
class part2.Main {
}
}
namespace part2 {
class part2.ManagementGUI {
}
}
namespace part2 {
class part2.PassengerQueue {
}
}
namespace part2 {
class part2.SimTime {
}
}
namespace part2 {
interface part2.Subject {
}
}
namespace part2 {
class part2.Timer {
}
}
part1.CSVReader o-- part1.AllBookings : bookings
part1.CSVReader o-- part1.AllFlights : flights
part1.Flight .up.|> part2.Subject
part1.GUI o-- part1.AllBookings : bookings
part1.GUI o-- part1.AllFlights : flights
part2.CheckinCounter .up.|> part2.Subject
part2.CheckinCounter o-- part1.AllFlights : flights
part2.CheckinCounter o-- part1.Booking : passenger
part2.CheckinCounter o-- part1.Flight : passengerFlight
part2.CheckinCounter o-- part2.PassengerQueue : queue
part2.CheckinCounter o-- part2.Timer : timer
part2.ManagementGUI .up.|> java.util.Observer
part2.ManagementGUI .up.|> javax.swing.event.ChangeListener
part2.ManagementGUI o-- part2.SimTime : t
part2.PassengerQueue .up.|> part2.Subject
part2.PassengerQueue o-- part2.Timer : timer
part2.Timer .up.|> part2.Subject
part2.Timer o-- part2.SimTime : simTime
part1.AllBookings "1 " o-- "1..* " part1.Booking
part1.AllFlights "1 " o-- "1..* " part1.Flight
@enduml
|
b4c314bd25edd64f4dc4ae7ae66d0a5546bb563e | 715d27ad73f4c58cea04e367d6f6ffa49b1eef2d | /src/designpattern/iterator/iterator1.puml | 60825b38444293101ddbb83c34521fab2464427b | [] | no_license | chuanqingli/licq-java | 2fe516f98357d96f28568a533bd353c6240d7ed5 | b472ea1c5aa0fd64523d18cd83839070a68cbccc | refs/heads/master | 2020-04-08T22:52:52.037936 | 2018-12-29T07:19:50 | 2018-12-29T07:19:50 | 159,803,606 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 513 | puml | @startuml
package iterator{
+interface Aggregate{
+{abstract} iterator()
}
+interface Iterator{
+{abstract} hasNext()
+{abstract} next()
}
+class ConcreteAggregate{
iterator()
}
+class ConcreteIterator{
aggregate
hasNext()
next()
}
Aggregate -> Iterator : Creates >
ConcreteAggregate <-o ConcreteIterator
Aggregate <|.. ConcreteAggregate
Iterator <|.. ConcreteIterator
}
@enduml
|
cf87c5cf49505fa5662b04d64a14bb14c8866ad6 | e37016f9bea6aac6954954ba33bde705a1245047 | /zx-note/src/test/graph/java/lang/类图.puml | d2f0f30a613cf0ac7fff7f69e25ee783c8029e8b | [] | no_license | zouxiang1993/es_lucene | 11d558d98a9847b9df1d9d575bc9b362ac548f9b | c463345975db890105124c429965ed96ebd8bf92 | refs/heads/master | 2023-07-19T21:03:26.092718 | 2019-08-27T16:24:46 | 2019-08-27T16:24:46 | 148,873,770 | 3 | 3 | null | 2023-07-18T02:50:13 | 2018-09-15T05:47:30 | Java | UTF-8 | PlantUML | false | false | 2,260 | puml | @startuml
class Object {
所有对象(包括数组)都是Object的子类
---
+native Class<?> getClass()
+native int hashCode()
+boolean equals(Object obj)
+String toString()
+final native void wait(long timeout)
+final void wait(long timeout, int nanos)
+final void wait()
+final native void notify()
+final native void notifyAll()
#native Object clone()
#void finalize()
}
class Class<T> {
表示类或者接口,enum也是一种类,注解也是一种接口
---
// 定位、加载、解析、初始化一个类
+{static} Class<?> forName(String className)
+{static} Class<?> forName(String name, boolean initialize, ClassLoader loader)
---
// 将这个Class对象转换为一个子类的对象
+ <U> Class<? extends U> asSubclass(Class<U> clazz)
// 将obj强制转换成当前Class对象所表示的对象
+T cast(Object obj)
+ String getName()
// 委托类加载器来寻找一个资源
+URL getResource(String name)
+InputStream getResourceAsStream(String name)
+boolean isPrimitive()
+boolean isArray()
+boolean isEnum()
...
+boolean isInstance(Object obj)
// 使用无参构造函数创建一个新对象
+T newInstance()
----
<font color=blue><b>反射相关
// 获取接口类型
+AnnotatedType[] getAnnotatedInterfaces()
// 获取父类类型
+AnnotatedType getAnnotatedSuperclass()
// 获取注解类型
+ <A extends Annotation> A getAnnotation(Class<A> annotationClass)
+ ClassLoader getClassLoader()
// 返回数组的基础元素类型
+ Class<?> getComponentType()
// 根据参数类型获取对应的构造器, 只会返回public的
+ Constructor<T> getConstructor(Class<?>... parameterTypes)
// 会返回所有的构造器,不只是public的
+ Constructor<?> getDeclaredConstructor(Class<?>... parameterTypes)
// 返回所有的public, protected, private, default的字段,但不包括从父类中继承来的字段
+Field[] getDeclaredFields()
+Method[] getDeclaredMethods()
// 返回所有public的字段或者方法,包括从父类中继承的得来的。
+Field[] getFields()
+Method[] getMethods()
}
@enduml |
01bb2ef3cca3cdd224f6965a7a89c0cb70c51923 | ca0a47ab46b3f7a5c5bfaa2c7c4bf078e3646c32 | /PlantUML/src/frontend_class_diagram.plantuml | 10c16bb81b03f108e946bfbef19fa1635a43a1cf | [] | no_license | LasseKrarup/Laser-Tag-Project | 4ea4b496c2e59c54512c4275247bf1bf3f452c5f | 07510f50a6c98d9ffb59550b63838435da25ca4a | refs/heads/master | 2021-07-14T09:54:43.202288 | 2019-06-26T11:41:30 | 2019-06-26T11:41:30 | 171,651,265 | 4 | 0 | null | 2020-07-07T04:42:06 | 2019-02-20T10:22:59 | HTML | UTF-8 | PlantUML | false | false | 740 | plantuml | @startuml frontend_class_diagram
skinparam {
monochrome true
dpi 300
padding 2
packageStyle rectangle
packageStyle frame
shadowing false
classAttributeIconSize 0
}
hide circle
hide empty members
class Players {
+ addPlayer(): void
+ removePlayer(): void
}
class Player {
- score: int
- name: string
}
class MainWindow {
+ quitApplication(): void
+ openMenu(): void
}
class ServerAPI <<boundary>> {
+addPlayer(): string
+removePlayer(): string
+startGame(): string
+clearHighscore(): string
}
MainWindow *-- "1" ServerAPI
MainWindow *-- "1" Players
Players o-- "1..*" Player
@enduml |
542f96669000886f4b8c83924dd980269f0df75d | d5252100aaacd2c70b80b1b88fed5c30e76f38f7 | /Awalé.puml | bd007c84fd5e50c779dc450a2e3f7ee91304effe | [] | no_license | ylion75/projet-awale | 565e723d821a94247bdb827c037d1bae3e2dad17 | 74010217d58e00a158158f1d00fd021b8a3cb29f | refs/heads/master | 2023-02-15T11:58:20.302310 | 2021-01-11T10:55:48 | 2021-01-11T10:55:48 | 316,063,289 | 0 | 0 | null | 2021-01-11T10:52:05 | 2020-11-25T22:02:54 | Java | UTF-8 | PlantUML | false | false | 1,358 | puml | @startuml
!define DARKRED
!includeurl https://raw.githubusercontent.com/Drakemor/RedDress-PlantUML/master/style.puml
class Appli {
+main(String[] args)
}
class Jeu {
#plateau : PlateauJeu
#J1 : Joueur
#J2 : Joueur
-finDepartie : boolean
-finDePartieParNBGraines()
-isTrouVide(int numeroJoueur, int numeroTrou)
#convertisseurLigne(int choixUtilisateur, Joueur joueurActif)
-checkSiCasePrenable(int numeroJoueur, int numeroTrou, Joueur joueurActif)
+ramasserGraine(int numeroJoueur, int numeroTrou, Joueur joueurActif)
+semer(int numeroJoueur, int numeroTrou)
-demandeCase(Joueur joueurActif)
+jouerUnCoup(Joueur joueurActif, int choixValide)
+deroulePartie()
}
class Joueur {
-nom : String
-numero : int
-cpt : int
-score : int
+getNom()
+getNumero()
+setScore(int score)
+getScore()
+ajouterScore(int score)
}
class PlateauJeu{
-rangee : int
-trou : int
-graineParTrou : int
-plateau : int[][]
+getNBGrainerangee(int numeroJoueur)
+getNBGrainesRestantes()
+afficherPlateau()
+clearScreen()
+viderLeTrou(int numeroJoueur, int numeroTrou)
+ajouteUneGraine(int numeroJoueur, int numeroTrou)
+caseSuivante(int numeroJoueur, int numeroTrou)
}
interface Regle <interface> {
Joueur premierJoueur();
jouerUnCoup(Joueur joueurActif, int choixUtilisateur);
}
Appli ..|> Jeu
Joueur ..> PlateauJeu
Jeu <|..* PlateauJeu
Regle *..>Jeu
Jeu <|..* Joueur
@enduml |
babb5fd969a6a3e274de41b691b20f58edc44319 | e15413bf56f8405e3f54556efac8d9dcf70863cb | /Wasteless-app/wasteless-server/src/main/java/wasteless/server/diagrams/business.plantuml | 303eccc0285abedd569c96154727ddd030995a31 | [] | no_license | sd-2020-30431/assignment-2-cezarasabou | 901d0b605ac3cd374eff28f958ab845f9d5f829c | f3bfda99dad3f12326b9ff1cc41d2fbfb12b9d38 | refs/heads/master | 2023-01-14T01:25:19.393086 | 2020-04-18T15:47:19 | 2020-04-18T15:47:19 | 249,999,198 | 0 | 0 | null | 2023-01-07T17:08:31 | 2020-03-25T14:21:57 | Java | UTF-8 | PlantUML | false | false | 2,778 | plantuml | @startuml
title __BUSINESS's Class Diagram__\n
namespace wasteless.server {
namespace business {
class wasteless.server.business.ExportService {
+ ExportService()
+ exportJsonWasteReport()
+ exportTextWasteReport()
- getReportGenerator()
}
}
}
namespace wasteless.server {
namespace business {
class wasteless.server.business.GroceryListService {
+ GroceryListService()
+ createGroceryList()
+ deleteGroceryList()
+ getAllGroceryLists()
+ getGroceryListById()
+ updateGroceryList()
}
}
}
namespace wasteless.server {
namespace business {
class wasteless.server.business.ItemService {
+ ItemService()
+ createItem()
+ deleteItem()
+ getAllItems()
+ getItemById()
+ updateItem()
}
}
}
namespace wasteless.server {
namespace business {
class wasteless.server.business.UserService {
+ UserService()
+ createUser()
+ deleteUser()
+ getActiveUser()
+ getAllUsers()
+ getUserById()
+ loginUser()
+ updateUser()
}
}
}
namespace wasteless.server {
namespace business {
class wasteless.server.business.WasteManagerService {
- support : PropertyChangeSupport
+ WasteManagerService()
+ addPropertyChangeListener()
+ computeWasteDTO()
+ notifyWasteLevels()
+ removePropertyChangeListener()
- getTotalCalories()
}
}
}
wasteless.server.business.ExportService o-- wasteless.server.export.factory.FactoryProvider : factoryProvider
wasteless.server.business.GroceryListService o-- wasteless.server.presentation.mapper.GroceryListMapper : groceryListMapper
wasteless.server.business.GroceryListService o-- wasteless.server.persistance.GroceryListRepository : groceryListRepository
wasteless.server.business.GroceryListService o-- wasteless.server.persistance.UserRepository : userRepository
wasteless.server.business.ItemService o-- wasteless.server.persistance.GroceryListRepository : groceryListRepository
wasteless.server.business.ItemService o-- wasteless.server.persistance.ItemRepository : itemRepository
wasteless.server.business.UserService o-- wasteless.server.persistance.UserRepository : userRepository
wasteless.server.business.WasteManagerService o-- wasteless.server.business.GroceryListService : groceryListService
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
91421dafd9d71c595a77bcaa35029fca1d845510 | b19e1cd9af26a9f3cb65823e1a7885ce278337fe | /documentation/productApi/quote/media/src/extension_pattern.puml | 4d1554a5f4634a58ce6937cacbcc1c14393bbfc2 | [
"Apache-2.0"
] | permissive | MEF-GIT/MEF-LSO-Sonata-SDK | 969c3717fba3fffa009bf3a5de65337b2caccaaf | 6d66bc0778fe0f5a96cdbcb3579e47513b7fd62f | refs/heads/working-draft | 2023-07-07T02:17:11.649855 | 2023-06-23T09:30:18 | 2023-06-23T09:30:18 | 90,886,429 | 33 | 32 | Apache-2.0 | 2023-01-05T23:58:23 | 2017-05-10T16:38:08 | null | UTF-8 | PlantUML | false | false | 945 | puml | @startuml
skinparam {
ClassBackgroundColor White
ClassBorderColor Black
ClassBorderColor<<ProductSpecification>> FireBrick
}
set namespaceSeparator none
class MEFProductRefOrValueQuote{
id: string
href: string
place: RelatedPlaceRefOrValue
productOffering: ProductOfferingRef
productRelationship: ProductRelationshipWithGrouping
}
class MEFProductConfiguration {
@type*: string <<discriminator>>
}
MEFProductRefOrValueQuote *-->"0..1" MEFProductConfiguration : productConfiguration
class urn:mef:lso:spec:sonata:OperatorUNI:1.0.0:poq <<ProductSpecification>> {
<<... attributes are skipped ...>>
}
MEFProductConfiguration <|-- "urn:mef:lso:spec:sonata:OperatorUNI:1.0.0:poq"
class urn:mef:lso:spec:sonata:AccessElineOvc:1.0.0:poq <<ProductSpecification>> {
<<... attributes are skipped ...>>
}
MEFProductConfiguration <|-- "urn:mef:lso:spec:sonata:AccessElineOvc:1.0.0:poq"
@enduml
|
ef92e0f6d878b4c5e1ca98baa68a574b6def3d0b | 7491bc37247fc0c8a6b271d3f79857cf3f70a4b2 | /UML diagram.puml | ffb1707cc7c30d7a8b554b01603277009395e268 | [] | no_license | Dvirperkin/Lode-Runner | 2cce3b09756f10b15049eddaafc0e1c1794f02a6 | ec850d8143d0dc2eed37126a410e5231c97da7af | refs/heads/master | 2023-02-20T12:15:45.771949 | 2021-01-22T17:12:56 | 2021-01-22T17:12:56 | 328,999,918 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 6,673 | puml | @startuml
class GameController {
public:
GameController();
void Run();
private:
std::vector<std::unique_ptr<Window>> m_screens;
enum ScreenType_t m_currentScreen;
}
abstract class Window {
public:
Window();
virtual enum ScreenType_t display(sf::RenderWindow &) = 0;
virtual void draw(sf::RenderWindow &) = 0;
virtual void Music() = 0;
private:
}
class MainMenu{
public:
MainMenu();
virtual enum ScreenType_t display(sf::RenderWindow &) override;
virtual void draw(sf::RenderWindow &) override;
virtual void Music() override;
private:
std::vector<MenuButton> m_menu;
int m_lastRectangleBold;
sf::Music m_backGroundMusic;
//sf::Text m_text;
void handleMouseMove(sf::RenderWindow & Window, const sf::Vector2f & location);
}
class MenuButton {
public:
MenuButton(int);
void draw(sf::RenderWindow &);
bool checkPressed(const sf::Vector2f &);
void setOutlineThickness(int);
private:
sf::RectangleShape m_frame;
sf::Text m_text;
}
class Stage{
public:
Stage();
virtual enum ScreenType_t display(sf::RenderWindow &) override;
virtual void draw(sf::RenderWindow &) override;
virtual void Music() override;
private:
StageDetails m_stageDetails;
std::fstream m_levelFile;
sf::Music m_backGroundMusic;
Player m_player;
std::vector<std::unique_ptr<Enemy>> m_enemies;
std::vector<std::string> m_map;
std::vector<std::unique_ptr<StaticObject>> m_staticObjects;
sf::Vector2i m_stageSize;
sf::Clock m_clock;
Textures m_Textures;
int m_stageNumber = 0;
int m_coin;
void createEnemy(const int row, const int col);
void drawMovingObject(sf::RenderWindow &) const;
void drawStaticObjects(sf::RenderWindow &) const;
}
class StageDetails {
public:
StageDetails() = default;
StageDetails(sf::Vector2i &, int &, int &);
private:
sf::Clock m_timer;
int m_score;
int m_lives;
}
class StageConstruction{
public:
StageConstruction();
virtual enum ScreenType_t display(sf::RenderWindow &) override;
virtual void draw(sf::RenderWindow &) override;
virtual void Music() override;
}
Window <-- MainMenu
Window <-- Stage
Window <-- StageConstruction
abstract class GameObject {
public:
GameObject() = default;
GameObject(const sf::Vector2i & , const sf::Texture &);
const sf::Vector2i & getPosition () const;
virtual void draw (sf::RenderWindow &) const;
void setPosition(const float &, const sf::Vector2f & , const sf::Vector2f &);
private:
sf::Vector2i m_position;
sf::Sprite m_sprite;
}
abstract class MovingObject{
public:
MovingObject() = default;
MovingObject(const sf::Vector2i & , const sf::Texture &);
virtual void move(const float &) = 0;
virtual void setDirection(const sf::Keyboard::Key &);
const sf::Vector2f getDirection () const;
const sf::Vector2f getScale () const;
private:
sf::Vector2f m_direction;
sf::Vector2f m_scale; //used to reflect the sprite with setScale.
}
abstract class StaticObject{
public:
StaticObject() = default;
StaticObject(const sf::Vector2i & , const sf::Texture &);
private:
}
GameObject <-- MovingObject
GameObject <-- StaticObject
abstract class SpecialObject{
public:
SpecialObject() = default;
SpecialObject(const sf::Vector2i & , const sf::Texture &);
virtual void activate() = 0;
private:
}
StaticObject <-- SpecialObject
class Player{
public:
Player() = default;
Player(const sf::Vector2i & , const sf::Texture &);
virtual void move(const float &) override;
private:
int m_lives = 3;
}
abstract class Enemy{
public:
Enemy() = default;
Enemy(const sf::Vector2i & , const sf::Texture &);
private:
}
MovingObject <-- Player
MovingObject <-- Enemy
class StupidEnemy{
public:
StupidEnemy(const sf::Vector2i & , const sf::Texture &);
virtual void move(const float &) override;
private:
}
class RandEnemy{
public:
RandEnemy(const sf::Vector2i & , const sf::Texture &);
virtual void move(const float &) override;
private:
}
class SmartEnemy{
public:
SmartEnemy(const sf::Vector2i & , const sf::Texture &);
virtual void move(const float &) override;
private:
}
Enemy <-- StupidEnemy
Enemy <-- RandEnemy
Enemy <-- SmartEnemy
abstract class Gift{
public:
Gift() = default;
Gift(const sf::Vector2i & , const sf::Texture &);
virtual void activate() = 0
private:
}
class LiveGift{
public:
virtual void activate() override;
private:
}
class ScoreGift{
public:
virtual void activate() override;
private:
}
class TimeGift{
public:
virtual void activate() override;
private:
}
class EnemyGift{
public:
virtual void activate() override;
private:
}
Gift <-- LiveGift
Gift <-- ScoreGift
Gift <-- TimeGift
Gift <-- EnemyGift
class Coin{
public:
Coin() = default;
Coin(const sf::Vector2i & , const sf::Texture &);
virtual void activate() override;
private:
}
class Ladder{
public:
Ladder() = default;
Ladder(const sf::Vector2i & , const sf::Texture &);
private:
}
class Pole{
public:
Pole() = default;
Pole(const sf::Vector2i & , const sf::Texture &);
private:
}
class Wall{
public:
Wall() = default;
Wall(const sf::Vector2i & , const sf::Texture &);
private:
}
SpecialObject <-- Gift
SpecialObject <-- Coin
StaticObject <-- Ladder
StaticObject <-- Pole
StaticObject <-- Wall
class Textures {
public:
Textures();
const sf::Texture& getPlayerTexture() const;
const sf::Texture& getEnemyTexture() const;
const sf::Texture& getWallTexture() const;
const sf::Texture& getCoinTexture() const;
const sf::Texture& getLadderTexture() const;
const sf::Texture& getPoleTexture() const;
const sf::Texture& getGiftTexture() const;
private:
std::vector<sf::Texture> m_textures;
}
class Sounds {
public:
Sounds();
const sf::SoundBuffer & getCollisionEnemySound () const;
const sf::SoundBuffer & getCollisionCoinSound () const;
const sf::SoundBuffer & getCantMoveSound () const;
const sf::SoundBuffer & getFinishedLevelSound () const;
const sf::SoundBuffer & getLowTimeSound () const;
private:
std::vector<std::unique_ptr<std::string>> m_music;
std::vector<sf::SoundBuffer> m_sounds;
}
enum ScreenType_t
{
MAIN_MENU,
STAGE,
STAGE_CONSTRUCTION,
EXIT
}
enum Sounds_t
{
COLLISION_ENEMY,
COLLISION_COIN,
CANT_MOVE,
FINISHED_LEVEL,
LOW_TIME
}
enum Textures_t
{
PLAYER,
ENEMY,
WALL,
COIN,
LADDER,
POLE,
GIFT
}
enum EnemyType_t
{
STUPID_ENEMY,
RAND_ENEMY,
SMART_ENEMY
}
enum GiftType_t
{
LIVE_GIFT,
SCORE_GIFT,
TIME_GIFT,
ENEMY_GIFT
}
@enduml |
9c189f20e6f96b171a88785c582dec2bb9efd6c8 | e37016f9bea6aac6954954ba33bde705a1245047 | /zx-note/src/test/graph/lucene/lucene-core/document/Field类图.puml | 004ee75b9bf61f8d75d87cf45b044edf3fefed5f | [] | no_license | zouxiang1993/es_lucene | 11d558d98a9847b9df1d9d575bc9b362ac548f9b | c463345975db890105124c429965ed96ebd8bf92 | refs/heads/master | 2023-07-19T21:03:26.092718 | 2019-08-27T16:24:46 | 2019-08-27T16:24:46 | 148,873,770 | 3 | 3 | null | 2023-07-18T02:50:13 | 2018-09-15T05:47:30 | Java | UTF-8 | PlantUML | false | false | 1,967 | puml | @startuml
class Field{
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.........................................................
}
StoredField -down-|> Field
class StoredField{
// 值会被存储的Field
}
StringField -down-|> Field
class StringField{
// Indexed,
// not tokenized,
// omits norms,
// indexes DOCS_ONLY
// stored 或 not stored
}
TextField -down-|> Field
class TextField{
// Indexed DOCS_AND_FREQS_AND_POSITIONS
// tokenized
// stored 或 not stored
}
namespace DocValues{
BinaryDocValuesField -up-|> .Field
DoubleDocValuesField -up--|> NumericDocValuesField
FloatDocValuesField -up--|> NumericDocValuesField
NumericDocValuesField -up-|> .Field
SortedDocValuesField -up-|> .Field
SortedNumericDocValuesField -up-|> .Field
SortedSetDocValuesField -up-|> .Field
}
namespace point{
BinaryPoint --|> .Field
DoublePoint --|> .Field
FloatPoint --|> .Field
LongPoint --|> .Field
IntPoint --|> .Field
class IntPoint{
// 一个被索引的int字段,用来快速执行范围过滤
// 如果需要存储这个int值,还需要另外一个StoredField字段
// 一个文档的同一个字段支持多值
---
+{static} Query newExactQuery(String, int)
+{static} Query newRangeQuery(String, int, int)
+{static} Query newSetQuery(String, int...)
+{static} Query newRangeQuery(String, int[], int[]) ???
}
}
namespace range{
LongRange -right-|> .Field
DoubleRange --|> .Field
FloatRange ---|> .Field
IntRange ----|> .Field
class IntRange{
// 最多支持4组 min/max 对
// 区间操作
---
+{static} Query newIntersectsQuery(String, int[], int[])
+{static} Query newContainsQuery(String, int[], int[])
+{static} Query newWithinQuery(String, int[], int[])
}
}
@enduml |
ba04c552351584e9d854b6cb08e500cbd358fc26 | 084fcc4a31b60fe11f3f647f7d49a3c1c6621b44 | /kapitler/media/uml-codelist-hendelsetype.puml | 015024f1b07cae824539986f0e48bb5e2122d9c7 | [] | no_license | arkivverket/noark5-tjenestegrensesnitt-standard | 299f371a341e59402d49bfc11ee9e2672dad657e | 03025f8b9f1496f4a2f5b155e212a44768390274 | refs/heads/master | 2023-06-10T02:19:28.432679 | 2023-06-09T08:40:40 | 2023-06-09T08:40:40 | 136,293,843 | 7 | 11 | null | 2023-08-22T10:40:36 | 2018-06-06T07:58:53 | Python | UTF-8 | PlantUML | false | false | 157 | puml | @startuml
skinparam nodesep 100
hide circle
class Kodelister.Hendelsetype <<codelist>> {
+Opprettet = C
+Lest = R
+Endret = U
+Slettet = D
}
@enduml
|
ff63b9e030eb191df46c4507bbf3d93d6ddfc557 | da0cd683d55a0b455a3bc40fa9591a09cf26fc48 | /pattern_umls/adapter/adapter_uml.puml | 4a34f152ecff4815a2c9e4cfb2663d87c6b91010 | [] | no_license | zzbb1199/HeadFirst | 5916d340cedfd435722f76c0d72bb1362b57e8bc | 94663c586e098b7f4175cbc8c6efc45ae00fbe3f | refs/heads/master | 2020-04-05T06:19:40.593678 | 2018-11-22T14:16:59 | 2018-11-22T14:16:59 | 156,634,040 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 243 | puml | @startuml
interface Target{
}
class Adapter{
request()
}
class Adaptee{
specificRequest()
}
Client -> Target
Target <|. Adapter
Adaptee --> Adapter
note as N1
将被适配者转换成客户所需要的目标
end note
@enduml |
a0c8c8f2f3794088daeb0ac7aec2d71b5e890a44 | 8eabea6d7b12b141ed8a69c90858dbd35a2af030 | /src/main/java/ex46/WordFrequencyFinder.puml | b5f1206d2085f8f9bf897b739bc2dff9ad1f2c61 | [] | no_license | nick-vigg/Viggiani-cop3330-assignment3 | aa25109fe489d855f39b809cea590ab01fea70e8 | f2ea210afde2d5cf7202a8c1f3531cb57134628f | refs/heads/master | 2023-05-24T09:59:18.207445 | 2021-06-20T17:45:58 | 2021-06-20T17:45:58 | 378,286,766 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 199 | puml | @startuml
'https://plantuml.com/sequence-diagram
class WordFinder {
main()
String getInput()
ArrayList<WordData> countWords(String input)
String getHistogram(ArrayList<WordData> wordList)
}
@enduml |
5d56f7626898bf2e524caea8ea3502c3240eccd6 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/ZoneUpdateAction.puml | 1ef953d11939f8f275871fa6bd31c0cb1f8075d4 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 1,468 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface ZoneUpdateAction [[ZoneUpdateAction.svg]] {
action: String
}
interface ZoneAddLocationAction [[ZoneAddLocationAction.svg]] {
action: String
location: [[Location.svg Location]]
}
interface ZoneChangeNameAction [[ZoneChangeNameAction.svg]] {
action: String
name: String
}
interface ZoneRemoveLocationAction [[ZoneRemoveLocationAction.svg]] {
action: String
location: [[Location.svg Location]]
}
interface ZoneSetDescriptionAction [[ZoneSetDescriptionAction.svg]] {
action: String
description: String
}
interface ZoneSetKeyAction [[ZoneSetKeyAction.svg]] {
action: String
key: String
}
interface ZoneUpdate [[ZoneUpdate.svg]] {
version: Long
actions: [[ZoneUpdateAction.svg List<ZoneUpdateAction>]]
}
ZoneUpdateAction --> ZoneAddLocationAction #blue;text:blue : "action : addLocation"
ZoneUpdateAction --> ZoneChangeNameAction #blue;text:blue : "action : changeName"
ZoneUpdateAction --> ZoneRemoveLocationAction #blue;text:blue : "action : removeLocation"
ZoneUpdateAction --> ZoneSetDescriptionAction #blue;text:blue : "action : setDescription"
ZoneUpdateAction --> ZoneSetKeyAction #blue;text:blue : "action : setKey"
ZoneUpdateAction --> ZoneUpdate #green;text:green : "actions"
@enduml
|
ffa5d813574682f17d6140ec37a0dbe8ad47efa3 | 64c8dacb32731ce02a24ccd7f4f71da2dabc86e3 | /Module08_Heritage/POOI_Heritage_CompteBancaireSansAbstraction/plantuml/POOI_Heritage_CompteBancaireSansAbstraction/Transactions/TransactionFrais.puml | a9fc71a5c76a8e158290c0e2a07a7660cd0d1a27 | [
"CC0-1.0"
] | permissive | Mouadh-1994770/420-W20-SF | 0233d6e99d48dea14068db093686507c878892fb | a066b8b1fdcc4cb07f7c274b6aa3c479aee6d505 | refs/heads/master | 2022-12-21T19:44:13.247779 | 2020-06-02T03:21:28 | 2020-06-02T03:21:28 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 121 | puml | @startuml
class TransactionFrais {
+ TransactionFrais(p_montant:decimal)
}
Transaction <|-- TransactionFrais
@enduml
|
263f1a5e7e8732bcf06fe9dc3716017b237e6cf4 | 5635c597a38479879c55c4594c8b09877ef1102b | /src/main/java/org/hfeng/misc/hfdp/ch4/factory/abstractf/abstract-factory.puml | 1c61c78043f7ec347a7b5553a05f55734fd4cfa9 | [] | no_license | harrifeng/java-in-action | 6c4d49f51634e5397606690710331438e4835a9f | e9b88ecf2fd2033e1848234c770fb3967fb1ec9d | refs/heads/master | 2020-11-26T18:31:08.066713 | 2015-05-19T01:04:17 | 2015-05-19T01:04:17 | 23,460,887 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 848 | puml | @startuml
interface AbstractFactory {
CreateProductA()
CreateProductB()
}
class ConcreteFactory1 implements AbstractFactory {
CreateProductA()
CreateProductB()
}
class ConcreteFactory2 implements AbstractFactory {
CreateProductA()
CreateProductB()
}
interface AbstractProductA
class ProductA1 implements AbstractProductA
class ProductA2 implements AbstractProductA
interface AbstractProductB
class ProductB1 implements AbstractProductB
class ProductB2 implements AbstractProductB
ConcreteFactory1 --> ProductA1
ConcreteFactory1 --> ProductB1
ConcreteFactory2 --> ProductA2
ConcreteFactory2 --> ProductB2
Client -down-> AbstractFactory
Client -down-> AbstractProductA
Client -down-> AbstractProductB
note right of Client : Client is written against \nthe abstract factory and\nthen at runtime with an \nactual factory
@enduml
|
70413f860fdd5ba5474ded842fb4a0914d34ab17 | 7e6fa61a8595cd38195713b5c7698f5de6f7c7b3 | /base/001/diagrama.puml | 479775b00d4dae8ccb091b51d466d1e4abf6bdd5 | [] | no_license | qxcodepoo/arcade | 3ff1852792a47584f00c1ab9fd5011ebb2c4b830 | 3722a8c976a51829b2b6f4913360c23bf114433a | refs/heads/master | 2023-08-31T04:07:06.255292 | 2023-08-25T03:16:42 | 2023-08-25T03:16:42 | 217,410,955 | 36 | 42 | null | 2020-09-24T13:22:18 | 2019-10-24T23:12:40 | C++ | UTF-8 | PlantUML | false | false | 1,336 | puml | '--
@startuml
skinparam defaultFontName Hasklig
skinparam dpi 150
'==
class Calculator {
' a bateria atual
+ battery : int
' o máximo de bateria suportado
+ batteryMax : int
' guarda o resultado da última operação
+ display : float
__
' inicia os atributos batteryMax utilizando o parametro passado
' battery e display começam com o zero
+ Calculator(batteryMax : int)
' aumenta a bateria de value, porém não além do máximo.
+ charge(value : int)
' realiza a soma de dois número e coloca o resultado no display
' tenta gastar bateria usando o método useBattery()
' verifica o resultado do retorno
+ sum(a : int, b : int)
' realiza a divisão de dois números e armazena o resultado no display
' tenta gastar bateria usando o método useBattery()
' verifica o resultado do retorno
' verifica se não é divisão por zero
+ division(num : int, den : int)
' tenta gastar uma unidade da bateria
' emite um erro se não conseguir.
' retorna se conseguiu gastar ou não.
+ useBattery(): boolean
' retorna uma string com o formato
' display = 0.00, bateria = 0
+ toString(): string
}
class Legenda {
+ atributoPublic
- atributoPrivate
# atributoProtected
__
+ métodoPublic()
- métodoPrivate()
# métodoProtected()
}
'--
@enduml |
ebf4f885d17f3dc86632ecce548325cf844d1d50 | 4e22d261d7dcf5fe2731d77ba3cfb47c5568977c | /Documentation/Source/Breakdown/Engine/TempestEngine/SystemManager-Class.iuml | 25d40e7626d961f1b069efc93efdb2ea378be71c | [] | no_license | SeraphinaMJ/Reformed | 2d7424d6d38d1cfaf8d385fade474a27c02103a5 | 8563d35ab2b80ca403b3b57ad80db1173504cf55 | refs/heads/master | 2023-04-06T00:40:34.223840 | 2021-05-06T11:25:51 | 2021-05-06T11:25:51 | 364,884,928 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 131 | iuml | namespace SystemManagement {
class SystemManager {
}
SystemManager -up-|> SystemManagerInterface
}
|
0bad38bebec122429803d40402a2bce3ac0c5461 | 6bdb6f1e0e094792856dfc063fa7772df9c19bd6 | /PlantUML/API/Classes/IAPI.puml | c7078cfda3415e95fafeeba58048e81992cd8832 | [
"MIT"
] | permissive | mixapiy/import-frame | 965e1fef4bfca71075c1c650ff364b989187a67f | f51bcacafd0fb09fcff2bc75a87230c61a595e88 | refs/heads/master | 2020-03-27T17:56:24.890655 | 2018-08-31T19:49:01 | 2018-08-31T19:49:01 | 146,886,513 | 2 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 39 | puml | @startuml
interface IAPI {
}
@enduml |
30fb16a0945bd47ff331458b5cbf35429cdf3e2d | 2ac74657de3cb81bab734d18094e945a442a167d | /sechub-doc/src/docs/asciidoc/diagrams/module_sechub_productresult.puml | 1cbcc2f6ef8ab04d62aa333da78ac1bda8f09f71 | [
"MIT",
"ANTLR-PD",
"LicenseRef-scancode-generic-exception",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"LicenseRef-scancode-oracle-openjdk-exception-2.0",
"MPL-1.1",
"MPL-2.0",
"CC-PDDC",
"LicenseRef-scancode-warranty-disclaimer",
"EPL-2.0",
"GPL-2.0-only",
... | permissive | de-jcup/sechub | 64055bb7ccd5496e32207c140e5812997e97583b | 488d2d23b9ae74043e8747467623d291c7371b38 | refs/heads/develop | 2023-07-22T18:01:47.280074 | 2023-07-18T15:50:27 | 2023-07-18T15:50:27 | 199,480,695 | 0 | 1 | MIT | 2023-03-20T03:00:02 | 2019-07-29T15:37:19 | Java | UTF-8 | PlantUML | false | false | 385 | puml | @startuml
' SPDX-License-Identifier: MIT
package com.mercedesbenz.sechub.domain.scan {
class ProductResult<<Entity>>{
UUID uuid
UUID secHubJobUUID
UUID productExecutorConfigUUID
String result
String messages
String metaData
LocalDateTime started
LocalDateTime ended
}
}
@enduml |
d14f830beb4a3874cece2afc05ee705dccb88b98 | d5ff2b863d75995ad48b4de70abb9320400fe7c2 | /app/src/main/java/class-uml.puml | 1d32bbc1b790daa8907d4250ebb26ccfbdf3940f | [] | no_license | leeshi/RandomPoetry | b430ecf1df8d22ca20aa3b8dfc2c03547eae2c4e | 1a96158704586065803a8240525fe448b3e56581 | refs/heads/master | 2020-05-23T13:34:44.070937 | 2019-06-09T06:41:43 | 2019-06-09T06:41:43 | 186,780,342 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,251 | puml | @startuml
package presenter{
interface Presenter{
void onResume();
void onDestroy();
void onItemClick(int position);
void onProcess(String loadOption);
}
interface OnLoadListener{
void loadSuccess(Object data);
void loadFailed();
void loadOver();
Object getLoadOption();
}
}
class Activity{
void onCreate(Bundle savedBundle);
void onResume();
void onStop();
void onDestroy();
}
package view{
interface View{
Object getLoadArguments();
void showLoading();
void hideLoading();
void toMainActivity(Object data);
void showFailedError();
}
}
Activity --|> View:implements
package model{
interface Crawler{
void search(OnLoadListener onLoadListener);
}
}
Crawler <.. OnLoadListener
Crawler <..> Presenter:Interact
View <.> Presenter:Interact
class PoetryItem{
public final String mContent;
public final String mTitle;
public final String mPoet;
public final String serial;
}
Crawler o- PoetryItem:contains
/'package dictionary{
class DetailCrawlerImpl
class DetailPoetryPresenterImpl
class MainPageView
}
package search{
class SearchingCrawlerImpl
class SearchingPresenterImpl
class SearchingView
}
package main{
class MainCrawlerImpl
class MainPresenterImpl
class RecommendationView
}'/
@enduml |
ffbf08c224c066956b8045d29497928608c7c180 | 67281736ad0eaecef5a0b546b0423bc8b1ec53d4 | /DesignPattern/src/main/java/alliswell/pattern/behavior/command/command.puml | 45e48bdc2b52537c2062f4702244010eb0e9d2d6 | [] | no_license | alliswell008/Alliswell | 3e1f6a16d11ffed7c72e340bcdabc8f093ab4928 | 2ecbaffab1aaf3ebd90e7f2f92f6e53fc80122c1 | refs/heads/master | 2022-12-23T14:01:01.706623 | 2021-04-04T14:37:57 | 2021-04-04T14:37:57 | 74,367,659 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,501 | puml | @startuml
title __**命令模式**__\n
note as N1
定义:将请求封装成一个对象,从而可用不同的请求对客户端进行参数化,
对请求排队或记录请求日志,以及支持可撤销的操作。
角色:客户端(Client)、命令调用者(Invoker)、命令接口(Command)、
具体命令(ConcreteCommand)、命令接收者(Receiver)
理解:1.invoker保持有command的引用,command保持有Receiver的引用。
2.客户创建Receiver、ConcreteCommand并把Receiver设置给ConcreteCommand,
客户端直接通过ConcreteCommand.execute执行命令。或者创建一个Invoker并
把ConcreteCommand设置给Invoker,然后通过Invoker来调用命令。
end note
newpage
class Client
interface Command
class Invoker
class ConcreteCommand1 {
- Receiver receiver
}
class ConcreteCommand2 {
- Receiver receiver
}
class Receiver
Client .right.> Invoker : 依赖
Client ..> Receiver : 依赖
Invoker o-right-> Command
ConcreteCommand1 .up.|> Command
ConcreteCommand1 --> Receiver : 关联
ConcreteCommand2 .up.|> Command
ConcreteCommand2 --> Receiver : 关联
newpage
class Customer
interface BakeCommand
class Waiter
class Barbecuer
class BakeGlutenCommand
class BakeMuttonCommand
Customer .right.> Waiter
Customer ..> Barbecuer
Waiter o-right-> BakeCommand
BakeGlutenCommand .up.|> BakeCommand
BakeMuttonCommand .up.|> BakeCommand
BakeGlutenCommand --> Barbecuer : 关联
BakeMuttonCommand --> Barbecuer : 关联
@enduml |
be874272edc8bdfc41d41b0b3bfb5edbdb333ec8 | bca1facdcd2f5b76f99ffb409e236a531e09b737 | /src/main/java/sale/sale.plantuml | 27b3930d61272237a4a63212546b5528fc21655e | [] | no_license | aatulgoel/vending-machine | e9fd0a6d601c57edba12fac05af068d09c5b9e4f | 9bc6611a42af9b24088b1c13871f452987b5b43e | refs/heads/master | 2020-04-17T03:37:09.465536 | 2019-01-17T09:36:41 | 2019-01-17T09:36:41 | 166,192,071 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 883 | plantuml | @startuml
title __SALE's Class Diagram__\n
package sale {
class Order {
- transactionRef : String
- payment : Integer
+ getTransactionRef()
+ setTransactionRef()
+ getProduct()
+ setProduct()
+ getPayment()
+ setPayment()
}
}
package sale {
class VendingMachine {
- activeTransactionMap : Map<String, Order>
+ listAvailableProducts()
- convertCurrencyToAmount()
+ persistPayment()
+ registerProductChoice()
- isSufficetMoneyPaidForProduct()
- hasClientOverpaid()
+ processClientRequest()
}
}
Order o-- Product : product
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
a0b35041c64fb070cd37a391a4405fc0cfe4dbe2 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/ExtensionInput.puml | 339bc705ffc38f560b1d2f388ccfd39c79422ba3 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 370 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface ExtensionInput [[ExtensionInput.svg]] {
action: [[ExtensionAction.svg ExtensionAction]]
resource: [[Reference.svg Reference]]
}
@enduml
|
f15d61f43b2fae717c16c2ecbb2803480eec78bc | 05c8bd1a709110820fd40a86efed565a75a57377 | /Software-Engineering/System-Design/Design-Patterns/iterator.puml | 448f3833c351e6094661c6e08a286592882a8e71 | [] | no_license | nl253/Notes | d08a05b21d69152a34db7938ea5cf19e292f6663 | d59be8c90ae16edd6d70528941cd5c70d2255c71 | refs/heads/master | 2020-03-19T15:19:08.574580 | 2019-12-29T15:10:45 | 2019-12-29T15:10:45 | 87,872,276 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 438 | puml | @startuml
interface Iterator<E> {
next(): E
previous(): E
first(): E
last(): E
isDone(): Boolean
}
interface Traversable<E> {
getIterator(): Iterator<E>
}
class ListIterator<E> implements Iterator
class HashSetIterator<E> implements Iterator
class List<E> implements Traversable
class HashSet<E> implements Traversable
List ...> ListIterator: << create >>
HashSet ...> HashSetIterator: << create >>
@enduml
|
5169d11fa3831f10a39b21c8b28d944a0cec5bac | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.test-framework@1.1.16/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/LuminPlatformSetup.puml | c1bbcc8976f337eab837b29e13f05ae710548100 | [] | no_license | TakanoVineYard/AMHH | 215a7c47049df08c5635b501e74f85137b9e985b | 68887a313587a2934fb4ceb2994cbc2a2191d6a3 | refs/heads/master | 2023-01-13T02:08:02.787083 | 2020-11-17T14:51:57 | 2020-11-17T14:51:57 | 303,631,593 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 244 | puml | @startuml
class LuminPlatformSetup {
+ Setup() : void
+ PostBuildAction() : void
+ PostSuccessfulBuildAction() : void
+ PostSuccessfulLaunchAction() : void
+ CleanUp() : void
}
IPlatformSetup <|-- LuminPlatformSetup
@enduml
|
a708b892490c2b90bbb2de44f004a27ff4ddab72 | d702b31e656edcb9944228c0309f153bdff29eec | /doc/plantuml/HCARDA/command/AppendRecordCommand.plantuml | 27b07c11ba5ee622786c93fff02bb23140f6db40 | [
"Apache-2.0"
] | permissive | gematik/ref-HealthCardAccess | 4f3957bfe40c56ffbf82782528a6e543ea00e9e3 | eb9a12f7eea309bb5b23269de9d8fa924f91fe4f | refs/heads/master | 2022-02-14T18:25:41.769547 | 2022-01-07T07:24:17 | 2022-01-07T07:24:17 | 213,916,430 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,366 | plantuml | @startuml
package de.gematik.ti.healthcardaccess {
interface IHealthCardCommand {
{abstract} + executeOn()
}
}
package de.gematik.ti.healthcardaccess {
abstract class AbstractHealthCardCommand {
{static} - LOG : Logger
{static} # NE_MAX_EXTENDED_LENGTH : int
{static} # NE_MAX_SHORT_LENGTH : int
{static} # EXPECT_ALL : int
# cla : int
# ins : int
# p1 : int
# p2 : int
# data : byte[]
# ne : int
# AbstractHealthCardCommand()
# AbstractHealthCardCommand()
{abstract} + getTechnicalResponseApdus()
- inferResponseStatusFromResponseCode()
+ executeOn()
# sendApdu()
- getCommandApdu()
}
}
package de.gematik.ti.healthcardaccess {
package de.gematik.ti.healthcardaccess.commands {
class AppendRecordCommand {
{static} - CLA : int
{static} - INS : int
{static} - NO_MEANING : int
{static} - technicalResponseApdus : Map<Integer, ResponseStatus>
+ getTechnicalResponseApdus()
+ AppendRecordCommand()
+ AppendRecordCommand()
}
}
}
AbstractHealthCardCommand -up-|> IHealthCardCommand
AppendRecordCommand -up-|> AbstractHealthCardCommand
@enduml |
26963082832b2da44b193efb888542afe883046e | 23eebc652cc34d63a61ab645cccb3e0d12192028 | /documentation/logicalview/analysisview/repository/classanalysis/puml/views/LoginView.puml | 507a06eb849725f13d19c6a64441048b76747670 | [] | no_license | Ruskab/agrimManager | 0e654c5bfc7bb6241f7a8cf4c49e58af55155886 | e264536edc42ad8def85e3714a7b1c15236d7de5 | refs/heads/develop | 2023-09-01T02:36:44.943558 | 2021-08-14T20:15:43 | 2021-08-14T20:15:43 | 166,677,735 | 1 | 2 | null | 2023-09-02T13:25:24 | 2019-01-20T15:37:25 | Java | UTF-8 | PlantUML | false | false | 254 | puml | @startuml
class LoginView {
+signin(username, password, repeatPassword)
+login(username, password)
}
LoginView --> LoginController
LoginView ..> "1" Session
LoginView --> "1" Mechanic
LoginView --> SignInView
LoginView --> OpenDashboard
@enduml |
8349151322dc93dcb0f32f26fcc52835b4c53d9e | 2b2acc58e16343190688ed460b26386980bb2b20 | /Documents/UC7/UC7_MD.puml | 009597008cc37031cf2cd648e8c6d5f4e4457a37 | [] | no_license | 1190452/LAPR3 | 0ca11285a3e85f93b5d687a0e10caef6f62a9577 | e641d35f6524fde900beb3683937fc697af3b325 | refs/heads/master | 2023-05-11T07:45:02.636516 | 2021-01-31T17:06:37 | 2021-01-31T17:06:37 | 372,571,407 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 414 | puml | @startuml
skinparam classAttributeIconSize 0
hide methods
left to right direction
class Administrator {
-String email
-String password
}
class Pharmacy {
-String id
-String name
-int quantityScooters
}
class ElectricScooter {
-String id
-double maxBattery
-double actualBattery
}
Pharmacy "1" -- "1.." ElectricScooter: Has >
Administrator "1" -- "1.." Pharmacy: Manages >
@enduml
|
92eb4c2a8ded281fc8b7157ba9f5c6f3775c4e9d | b892c67f502bedc1ba9a7955fba254878b62d275 | /plantuml/Selenium.puml | f0304344a23d9c8b3a93fb2d6f5daa4c61b5fb60 | [
"MIT"
] | permissive | amartyushov/amartyushov.github.io | 191e29f840e5cb7dcd4e7da97bdc681b8e94bac4 | b524da97848c59e3541fb47fdc654f2285698755 | refs/heads/master | 2021-06-27T07:03:06.365527 | 2021-03-07T12:41:39 | 2021-03-07T12:41:39 | 111,903,687 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 8,005 | puml | @startuml
' New session creation
actor client
box "selenium-remote-driver" #LightBlue
participant DesiredCapabilities as capabilities
participant RemoteWebDriver
participant HttpCommandExecutor
participant ProtocolHandshake
participant DriverCommandExecutor
end box
box "selenium-chrome-driver" #DeepSkyBlue
participant ChromeDriver
participant ChromeDriverService
participant ChromeDriverCommandExecutor
end box
== Prepare browser capabilities ==
client -> capabilities : chrome()
capabilities -> client : capabilities object
== Prepare driver ==
client -> ChromeDriver : ::new(capabilities)
activate ChromeDriver
ChromeDriver -> ChromeDriverService : createDefaultService()
note right : service will use the chromedriver executable \nidentified by {@link #CHROME_DRIVER_EXE_PROPERTY}
activate ChromeDriverService
ChromeDriverService -> ChromeDriver : chromeDriverService
deactivate ChromeDriverService
ChromeDriver -> ChromeDriverCommandExecutor : ::new(chromeDriverService)
activate ChromeDriverCommandExecutor
ChromeDriverCommandExecutor -> ChromeDriver : commandExecutor
deactivate ChromeDriverCommandExecutor
ChromeDriver -> RemoteWebDriver : ::new(commandExecutor, capabilities)
activate RemoteWebDriver
RemoteWebDriver -> RemoteWebDriver : init(capabilities)
RemoteWebDriver -> RemoteWebDriver : startSession(capabilities)
activate RemoteWebDriver #FFBBBB
RemoteWebDriver -> DriverCommandExecutor : execute(DriverCommand.NEW_SESSION)
activate DriverCommandExecutor #FFBBBB
DriverCommandExecutor -> ChromeDriverService : start()
DriverCommandExecutor -> HttpCommandExecutor : execute(DriverCommand.NEW_SESSION)
activate HttpCommandExecutor #FFBBBB
HttpCommandExecutor -> ProtocolHandshake : createSession(command)
activate ProtocolHandshake #FFBBBB
ProtocolHandshake -> ProtocolHandshake : HTTP POST /session
ProtocolHandshake -> HttpCommandExecutor : result
deactivate ProtocolHandshake
HttpCommandExecutor -> DriverCommandExecutor : Result
deactivate DriverCommandExecutor
deactivate ProtocolHandshake
deactivate HttpCommandExecutor
RemoteWebDriver -> ChromeDriver
deactivate RemoteWebDriver
ChromeDriver -> client : driver
deactivate ChromeDriver
@enduml
@startuml
' opening a url (just a command)
actor client
box "selenium-remote-driver" #LightBlue
participant RemoteWebDriver
participant HttpCommandExecutor
participant DriverCommandExecutor
participant W3CHttpCommandCodec
participant W3CHttpResponseCodec
participant OkHttpClient
end box
client -> RemoteWebDriver : get("URL")
RemoteWebDriver -> RemoteWebDriver : execute(DriverCommand.GET, "URL")
activate RemoteWebDriver
RemoteWebDriver -> DriverCommandExecutor : execute(command)
DriverCommandExecutor -> HttpCommandExecutor : execute(command)
activate HttpCommandExecutor
HttpCommandExecutor -> W3CHttpCommandCodec : encode(command)
W3CHttpCommandCodec -> HttpCommandExecutor : HttpRequest "POST /session/XYZ/url URL"
HttpCommandExecutor -> OkHttpClient : execute(httpRequest)
OkHttpClient -> HttpCommandExecutor : httpResponse
HttpCommandExecutor -> W3CHttpResponseCodec : decode(httpResponse)
W3CHttpResponseCodec -> HttpCommandExecutor : Response response
HttpCommandExecutor -> RemoteWebDriver
deactivate HttpCommandExecutor
deactivate RemoteWebDriver
RemoteWebDriver -> client
@enduml
@startuml
'Capability hierarchy
package selenium-api <<Rectangle>> {
interface Capabilities
class AbstractCapabilities
class ImmutableCapabilities
class MutableCapabilities
}
package selenium-chrome-driver <<Rectangle>> {
class ChromeOptions
}
package selenium-remote-driver <<Rectangle>> {
class DesiredCapabilities
}
interface Serializable
Capabilities <|.down. AbstractCapabilities
Serializable <|.down. MutableCapabilities
Serializable <|.down. ImmutableCapabilities
AbstractCapabilities <|-down- MutableCapabilities
AbstractCapabilities <|-down- ImmutableCapabilities
MutableCapabilities <|-down- DesiredCapabilities
MutableCapabilities <|-down- ChromeOptions
@enduml
@startuml
' Driver classes hierarchy
package selenium-api <<Rectangle>> {
interface SearchContext
interface WebDriver
}
package selenium-remote-driver <<Rectangle>> {
class RemoteWebDriver
}
package selenium-chrome-driver <<Rectangle>> {
class ChromeDriver
}
SearchContext <.up. WebDriver
WebDriver <-up- RemoteWebDriver
RemoteWebDriver <-up- ChromeDriver
@enduml
@startuml
' overview of component communication for UI testing
node "ChromeDriver" as driver
[Selenium client library] -> driver : HTTP Request
note bottom of driver
implements WebDriver protocol
HttpServer in C++
end note
cloud "Browser" as browser
driver - debug_port : send commands
note bottom of debug_port
DevTools
remote debugging
interface
end note
debug_port -> browser : WebSocket
@enduml
@startuml
' DriverService classes hierarchy
package selenium-remote-driver <<Rectangle>> {
class DriverService
note left of DriverService
Manages the life and death of a native executable driver server.
It is expected that the driver server implements the
WebDriver W3C protocol (it was JsonWireProtocol before standartization)
In particular, it should implement /status command that is used to check if the server is alive.
In addition to this, it is supposed that the driver server implements /shutdown hook that is
used to stop the server.
end note
}
package selenium-chrome-driver <<Rectangle>> {
class ChromeDriverService
}
package selenium-firefox-driver <<Rectangle>> {
class GeckoDriverService
}
DriverService <|-down- ChromeDriverService
DriverService <|-down- GeckoDriverService
@enduml
@startuml
' CommandExecutor classes hierarchy
package selenium-remote-driver <<Rectangle>> {
interface CommandExecutor {
Response execute(Command command)
}
class HttpCommandExecutor
class DriverCommandExecutor
note left of DriverCommandExecutor
A specialized HttpCommandExecutor that will use a DriverService
that lives and dies with a single WebDriver session.
The service will be restarted upon each new session
request and shutdown after each quit command.
end note
class DriverService
}
package selenium-chrome-driver <<Rectangle>> {
class ChromeDriverCommandExecutor
note left of ChromeDriverCommandExecutor
understands ChromeDriver specific commands
end note
}
CommandExecutor <|.down. HttpCommandExecutor
HttpCommandExecutor <|-down- DriverCommandExecutor
DriverService -right-* DriverCommandExecutor
DriverCommandExecutor <|-down- ChromeDriverCommandExecutor
@enduml
@startuml
' CommandCodec classes hierarchy
package selenium-remote-driver <<Rectangle>> {
interface CommandCodec
note left of CommandCodec
Converts Command objects to and from another representation.
end note
class AbstractHttpCommandCodec
note left of AbstractHttpCommandCodec
Adheres to the W3C's WebDriver wire protocol
https://w3.org/tr/webdriver
end note
class JsonHttpCommandCodec
note bottom of JsonHttpCommandCodec
Adheres to the Selenium project's JSON/HTTP wire protocol
https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol
Should be deprecated
end note
class W3CHttpCommandCodec
note bottom of W3CHttpCommandCodec
Adheres to the W3C's WebDriver wire protocol
https://w3.org/tr/webdriver
end note
}
CommandCodec <|.down. AbstractHttpCommandCodec
AbstractHttpCommandCodec <|-down- JsonHttpCommandCodec
AbstractHttpCommandCodec <|-down- W3CHttpCommandCodec
@enduml
@startuml
' Overview of important class relations
package selenium-remote-driver <<Rectangle>> {
class RemoteWebDriver
interface CommandExecutor {
Response execute(Command command)
}
interface Capabilities {
Response execute(Command command)
}
class HttpCommandExecutor
class DriverCommandExecutor
class DriverService
}
CommandExecutor -left-* RemoteWebDriver
Capabilities -down-* RemoteWebDriver
CommandExecutor <|.down. HttpCommandExecutor
HttpCommandExecutor <|-down- DriverCommandExecutor
DriverService -right-* DriverCommandExecutor
@enduml
|
9d1a2dc4b2d2a500b8d61b950126cd806e78319f | 644b7bb773b84596a2de4d31a0603284d9562e56 | /web3function/file/University.iuml | 07b8e91d4b7b645fcee4140e3d83cf6f75df787e | [] | no_license | M9k/Marvin-Uml | e62d17245cf493d53f0b80f633a47be8ec44569e | 0fe9bc36f947535ae4397181ccf8c85291244a87 | refs/heads/master | 2021-04-15T17:44:22.461549 | 2018-05-10T07:52:19 | 2018-05-10T07:52:19 | 126,618,685 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 184 | iuml | @startuml
skinparam classAttributeIconSize 0
class University{
+ isUniversityFounder(_address: address): bool
+ getRoleByAddress(_address: address): number
+ login(): number
}
@enduml
|
1fa1fa4f353d3a61d1929b34fc6cd47380ee0ca0 | d6a6863b7418539ed11f34645323de08bce8acca | /raw/GlideDecoder.puml | 2a41e19cad048a929f47f773ae419b078cd28b0a | [] | no_license | Qiaoidea/GifListsRecord | eb8fe3217808b508f0bdfb6a391599bd2a13769b | b3467b88ad1323f3dc99d002df1cf3c4c84302e7 | refs/heads/master | 2016-09-13T02:04:59.058165 | 2016-05-16T09:20:00 | 2016-05-16T09:20:00 | 58,313,925 | 4 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,704 | puml | @startuml
interface FrameCallback {
+ onFrameReady() : void
}
GifFrameLoader o- "many" FrameCallback
class GifState{
context : Context
bitmapPool : BitmapPool
gifFrameLoader : GifFrameLoader
+ newDrawable() : Drawable
+ newDrawable(Resources res) : Drawable
}
GifState *-- GifFrameLoader
class GifFrameLoader{
- firstBitmap : Bitmap
- gifDecoder : GifDecoder
- callbacks : List<FrameCallback>
- handler : Handler
- requestBuilder : RequestBuilder<Bitmap>
+ getFrameCount() : int
+ getLoopCount() : int
+ start() : void
+ stop() : void
+ getFirstFrame() : Bitmap
+ loadNextFrame() : void
# onFrameReady() : void
# subscribe(FrameCallback frameCallback) : void
# unsubscribe(FrameCallback frameCallback) : void
- recycleFirstFrame() : void
}
FrameLoaderCallback --* GifFrameLoader
class FrameLoaderCallback {
..Handler.Callback..
+ handleMessage(Message msg):boolean
}
class RequestBuilder {
.. request..
+ apply(RequestOption requestOptions) : RequestBuilder
+ load(Object obj) : RequestBuilder
+ into(T target)
}
note right: 1.GifFrameLoader 调用loadNextFram():\n\n通过构建一个Request发起异步任务,解码获取下一帧。\n然后使用handler.sendToTarget调用FrameLoaderCallback\n(Handler.Callback)回调,handleMessage,\n最终OnFrameReady(),更新新drawable
class GifDrawable{
- paint : Paint
- destRect : Rect
- isVisible : boolean
- isRunning : boolean
- isRecycled : boolean
- isStarted : boolean
- loopCount : int
+ start() : void
+ stop() : void
+ setVisible() : void
+ resetLoopCount() : void
}
FrameCallback <|-- GifDrawable
GifState -* GifDrawable
class GifDecoder{
- header : GifHeader
- parser : GifHeaderParser
- bitmapProvider : BitmapProvider
+ getData() : ByteBuffer
+ advance() : void
+ getDelay(int n) : int
+ getNextDelay() : int
+ getNextFrame() : Bitmap
+ read(InputStream is, int contentLength) : int
+ setPixels(GifFrame currentFrame, GifFrame previousFrame) : void
+ averageColorsNear(int positionInMainPixels, int maxPositionInMainPixels,int currentFrameIw) : void
+ decodeBitmapData(GifFrame frame) : void
+ getNextBitmap() : Bitmap
+ clear() : void
}
GifDecoder -* GifFrameLoader
BitmapProvider --* GifDecoder
interface BitmapProvider{
+ obtain(int width, int height, Bitmap.Config config) : Bitmap
+ release(Bitmap bitmap) : void
+ obtainByteArray(int size) : byte[]
+ release(byte[] bytes) : void
+ obtainIntArray(int size) : int[]
+ release(int[] array) : void
}
XXXBitmapProvider -|> BitmapProvider
@enduml |
7e0d650b17b0471fcd3ef8974095199752840cd6 | 7408ed3057898965559e73966a3a0dbeee5c03d0 | /out/production/design_patterns/flyweight/flywightUML.puml | 4b926d8f722d9f5b37781e08f74aefd28c0cc5dc | [] | no_license | wangzx-github/design_patterns | 85239a91fd5d518d7b79da54819c065663307058 | 862dd5898aaf9b655acf76e84d400bfdce2ee931 | refs/heads/master | 2023-07-31T18:37:13.734533 | 2021-09-21T17:29:36 | 2021-09-21T17:29:36 | 408,902,822 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 257 | puml | @startuml
class Website{
void use()
}
class ConcreteWebsite{
void use()
}
class Websitefactory{
void getWebsiteCategory()
}
class Client
ConcreteWebsite --|> Website
Website --* Websitefactory
Client --> Websitefactory
Client --> ConcreteWebsite
@enduml |
f48ce28ea1f2b864c5789c819fbb258bb564504e | 9623791303908fef9f52edc019691abebad9e719 | /src/cn/shui/learning_plan/beike/day_4/day_4.plantuml | 5f4be58af1a8efef8c9cb1f0cd2b463124dd50d9 | [] | no_license | shuile/LeetCode | 8b816b84071a5338db1161ac541437564574f96a | 4c12a838a0a895f8efcfbac09e1392c510595535 | refs/heads/master | 2023-08-17T04:53:37.617226 | 2023-08-15T16:18:46 | 2023-08-15T16:18:46 | 146,776,927 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 716 | plantuml | @startuml
title __DAY_4's Class Diagram__\n
namespace cn.shui.learning_plan.beike.day_4 {
class cn.shui.learning_plan.beike.day_4.Beike_113 {
+ pathSum()
- helper()
}
}
namespace cn.shui.learning_plan.beike.day_4 {
class cn.shui.learning_plan.beike.day_4.Beike_120 {
+ minimumTotal()
}
}
namespace cn.shui.learning_plan.beike.day_4 {
class cn.shui.learning_plan.beike.day_4.Beike_264 {
+ nthUglyNumber()
+ nthUglyNumber2()
}
}
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
e5bd6248ad808e9a2727115dca98a8a75974cb40 | 4d82b0d65ad85bca4deb49e6ce4257b358ae4670 | /figure-5.5.puml | 3a5801bb59f31a59e2d89c0276012c74c9a9bfb3 | [] | no_license | netpyoung/bs.uml-distilled | d0877c8e69156560d2c252c6dcc24bf4764105cd | 9ae1c24be4b8d3f0456d2b2e1d6fc8e0843f21bc | refs/heads/master | 2020-04-21T05:10:41.074540 | 2019-02-06T00:10:17 | 2019-02-06T00:11:32 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 133 | puml | @startuml
class DateRange {
- start: Date
- end: Date
# /length: Integer
}
note right: {length = end - start}
@enduml
|
55eafaa8f8f1036c296b74f9c247b1969e30e75e | 3150c7ff97d773754f72dabc513854e2d4edbf04 | /P3/STUB_Yeste_Guerrero_Cabezas/out/test/test/spec/concordion/common/command/execute/execute.plantuml | 24ad4b3fb83fbe398704e9d1eb22a6d2c3b54ed5 | [
"WTFPL"
] | permissive | leRoderic/DS18 | c8aa97b9d376788961855d6d75996990b291bfde | 0800755c58f33572e04e7ce828770d19e7334745 | refs/heads/master | 2020-03-29T05:14:14.505578 | 2019-11-07T18:01:37 | 2019-11-07T18:01:37 | 149,574,113 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,219 | plantuml | @startuml
title __EXECUTE's Class Diagram__\n
package spec.concordion {
package spec.concordion.common.command {
package spec.concordion.common.command.execute {
class AccessToLinkHrefTest {
+ fragmentSucceeds()
+ myMethod()
}
}
}
}
package spec.concordion {
package spec.concordion.common.command {
package spec.concordion.common.command.execute {
class ContinueAfterExceptionsFixture {
- myMethodWasCalled : boolean
+ myMethodWasCalledProcessing()
+ myExceptionThrower()
+ myMethod()
}
}
}
}
package spec.concordion {
package spec.concordion.common.command {
package spec.concordion.common.command.execute {
class ExecuteTest {
- myMethodWasCalled : boolean
- argument : String
+ myMethodWasCalledProcessing()
+ getArgument()
+ myMethod()
+ myMethod()
+ myMethod()
+ myMethod()
}
}
}
}
package spec.concordion {
package spec.concordion.common.command {
package spec.concordion.common.command.execute {
class ExecutingListTest {
- treeEntries : List<MultiValueResult>
+ parseNode()
+ getNodes()
+ process()
}
}
}
}
package spec.concordion {
package spec.concordion.common.command {
package spec.concordion.common.command.execute {
class ExecutingTablesTest {
+ process()
+ generateUsername()
}
}
}
}
package spec.concordion {
package spec.concordion.common.command {
package spec.concordion.common.command.execute {
class Result {
+ successCount : long
+ failureCount : long
+ exceptionCount : long
+ lastExpectedValue : String
+ lastActualValue : Object
}
}
}
}
package spec.concordion {
package spec.concordion.common.command {
package spec.concordion.common.command.execute {
class FailFastFixture {
- myMethodWasCalled : boolean
+ myMethodWasCalledProcessing()
+ myExceptionThrower()
+ myMethod()
}
}
}
}
package spec.concordion {
package spec.concordion.common.command {
package spec.concordion.common.command.execute {
class FailFastOnSpecificExceptionsFixture {
- myMethodWasCalled : boolean
+ myMethodWasCalledProcessing()
+ myTimeoutExceptionThrower()
+ myFileNotFoundExceptionThrower()
+ myMethod()
}
}
}
}
package spec.concordion {
package spec.concordion.common.command {
package spec.concordion.common.command.execute {
class FailFastPassthroughFixture {
}
}
}
}
ExecutingTablesTest +-down- Result
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
4b0ce12a4ea56ebd734cd35e1738716cf63f6706 | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.postprocessing@2.3.0/PostProcessing/Runtime/Utils/RuntimeUtilities.puml | 043c55aacc8559897f3877385a675841e8eb7394 | [] | no_license | TakanoVineYard/AMHH | 215a7c47049df08c5635b501e74f85137b9e985b | 68887a313587a2934fb4ceb2994cbc2a2191d6a3 | refs/heads/master | 2023-01-13T02:08:02.787083 | 2020-11-17T14:51:57 | 2020-11-17T14:51:57 | 303,631,593 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 6,141 | puml | @startuml
class RuntimeUtilities <<static>> {
+ {static} GetLutStrip(size:int) : Texture2D
+ {static} SetRenderTargetWithLoadStoreAction(cmd:CommandBuffer, rt:RenderTargetIdentifier, loadAction:RenderBufferLoadAction, storeAction:RenderBufferStoreAction) : void
+ {static} SetRenderTargetWithLoadStoreAction(cmd:CommandBuffer, color:RenderTargetIdentifier, colorLoadAction:RenderBufferLoadAction, colorStoreAction:RenderBufferStoreAction, depth:RenderTargetIdentifier, depthLoadAction:RenderBufferLoadAction, depthStoreAction:RenderBufferStoreAction) : void
+ {static} BlitFullscreenTriangle(cmd:CommandBuffer, source:RenderTargetIdentifier, destination:RenderTargetIdentifier, clear:bool, viewport:Rect?) : void
+ {static} BlitFullscreenTriangle(cmd:CommandBuffer, source:RenderTargetIdentifier, destination:RenderTargetIdentifier, propertySheet:PropertySheet, pass:int, loadAction:RenderBufferLoadAction, viewport:Rect?) : void
+ {static} BlitFullscreenTriangle(cmd:CommandBuffer, source:RenderTargetIdentifier, destination:RenderTargetIdentifier, propertySheet:PropertySheet, pass:int, clear:bool, viewport:Rect?) : void
+ {static} BlitFullscreenTriangleFromDoubleWide(cmd:CommandBuffer, source:RenderTargetIdentifier, destination:RenderTargetIdentifier, material:Material, pass:int, eye:int) : void
+ {static} BlitFullscreenTriangleToDoubleWide(cmd:CommandBuffer, source:RenderTargetIdentifier, destination:RenderTargetIdentifier, propertySheet:PropertySheet, pass:int, eye:int) : void
+ {static} BlitFullscreenTriangleFromTexArray(cmd:CommandBuffer, source:RenderTargetIdentifier, destination:RenderTargetIdentifier, propertySheet:PropertySheet, pass:int, clear:bool, depthSlice:int) : void
+ {static} BlitFullscreenTriangleToTexArray(cmd:CommandBuffer, source:RenderTargetIdentifier, destination:RenderTargetIdentifier, propertySheet:PropertySheet, pass:int, clear:bool, depthSlice:int) : void
+ {static} BlitFullscreenTriangle(cmd:CommandBuffer, source:RenderTargetIdentifier, destination:RenderTargetIdentifier, depth:RenderTargetIdentifier, propertySheet:PropertySheet, pass:int, clear:bool, viewport:Rect?) : void
+ {static} BlitFullscreenTriangle(cmd:CommandBuffer, source:RenderTargetIdentifier, destinations:RenderTargetIdentifier[], depth:RenderTargetIdentifier, propertySheet:PropertySheet, pass:int, clear:bool, viewport:Rect?) : void
+ {static} BuiltinBlit(cmd:CommandBuffer, source:Rendering.RenderTargetIdentifier, destination:RenderTargetIdentifier) : void
+ {static} BuiltinBlit(cmd:CommandBuffer, source:Rendering.RenderTargetIdentifier, destination:RenderTargetIdentifier, mat:Material, pass:int) : void
+ {static} CopyTexture(cmd:CommandBuffer, source:RenderTargetIdentifier, destination:RenderTargetIdentifier) : void
+ {static} scriptableRenderPipelineActive : bool <<get>>
+ {static} supportsDeferredShading : bool <<get>>
+ {static} supportsDepthNormals : bool <<get>>
+ {static} isSinglePassStereoEnabled : bool <<get>>
+ {static} isVREnabled : bool <<get>>
+ {static} isAndroidOpenGL : bool <<get>>
+ {static} isFloatingPointFormat(format:RenderTextureFormat) : bool
+ {static} Destroy(obj:UnityObject) : void
+ {static} isLinearColorSpace : bool <<get>>
+ {static} IsResolvedDepthAvailable(camera:Camera) : bool
+ {static} DestroyProfile(profile:PostProcessProfile, destroyEffects:bool) : void
+ {static} DestroyVolume(volume:PostProcessVolume, destroyProfile:bool, destroyGameObject:bool) : void
+ {static} IsPostProcessingActive(layer:PostProcessLayer) : bool
+ {static} IsTemporalAntialiasingActive(layer:PostProcessLayer) : bool
+ {static} GetAllSceneObjects() : IEnumerable<T>
+ {static} CreateIfNull(obj:T) : void
+ {static} Exp2(x:float) : float
+ {static} GetJitteredPerspectiveProjectionMatrix(camera:Camera, offset:Vector2) : Matrix4x4
+ {static} GetJitteredOrthographicProjectionMatrix(camera:Camera, offset:Vector2) : Matrix4x4
+ {static} GenerateJitteredProjectionMatrixFromOriginal(context:PostProcessRenderContext, origProj:Matrix4x4, jitter:Vector2) : Matrix4x4
+ {static} GetAllAssemblyTypes() : IEnumerable<Type>
+ {static} GetAllTypesDerivedFrom() : IEnumerable<Type>
+ {static} GetAttribute(type:Type) : T
+ {static} GetMemberAttributes(expr:Expression<Func<TType, TValue>>) : Attribute[]
+ {static} GetFieldPath(expr:Expression<Func<TType, TValue>>) : string
}
class "Dictionary`2"<T1,T2> {
}
class "IEnumerable`1"<T> {
}
RuntimeUtilities --> "m_WhiteTexture" Texture2D
RuntimeUtilities --> "whiteTexture" Texture2D
RuntimeUtilities --> "m_WhiteTexture3D" Texture3D
RuntimeUtilities --> "whiteTexture3D" Texture3D
RuntimeUtilities --> "m_BlackTexture" Texture2D
RuntimeUtilities --> "blackTexture" Texture2D
RuntimeUtilities --> "m_BlackTexture3D" Texture3D
RuntimeUtilities --> "blackTexture3D" Texture3D
RuntimeUtilities --> "m_TransparentTexture" Texture2D
RuntimeUtilities --> "transparentTexture" Texture2D
RuntimeUtilities --> "m_TransparentTexture3D" Texture3D
RuntimeUtilities --> "transparentTexture3D" Texture3D
RuntimeUtilities o-> "m_LutStrips<int,Texture2D>" "Dictionary`2"
RuntimeUtilities --> "s_Resources" PostProcessResources
RuntimeUtilities --> "s_FullscreenTriangle" Mesh
RuntimeUtilities --> "fullscreenTriangle" Mesh
RuntimeUtilities --> "s_CopyStdMaterial" Material
RuntimeUtilities --> "copyStdMaterial" Material
RuntimeUtilities --> "s_CopyStdFromDoubleWideMaterial" Material
RuntimeUtilities --> "copyStdFromDoubleWideMaterial" Material
RuntimeUtilities --> "s_CopyMaterial" Material
RuntimeUtilities --> "copyMaterial" Material
RuntimeUtilities --> "s_CopyFromTexArrayMaterial" Material
RuntimeUtilities --> "copyFromTexArrayMaterial" Material
RuntimeUtilities --> "s_CopySheet" PropertySheet
RuntimeUtilities --> "copySheet" PropertySheet
RuntimeUtilities --> "s_CopyFromTexArraySheet" PropertySheet
RuntimeUtilities --> "copyFromTexArraySheet" PropertySheet
RuntimeUtilities --> "defaultHDRRenderTextureFormat" RenderTextureFormat
RuntimeUtilities --> "m_AssemblyTypes<Type>" "IEnumerable`1"
@enduml
|
290fcd7c6297ff8b73f8811641c9bfacd61ebb5e | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/PayloadNotIncluded.puml | 21f574a05e1b8ba3c50cad5c4ba957d8645112cb | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 875 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface PayloadNotIncluded [[PayloadNotIncluded.svg]] {
reason: String
payloadType: String
}
interface MessageDeliveryPayload [[MessageDeliveryPayload.svg]] {
projectKey: String
notificationType: String
resource: [[Reference.svg Reference]]
resourceUserProvidedIdentifiers: [[UserProvidedIdentifiers.svg UserProvidedIdentifiers]]
id: String
version: Long
createdAt: DateTime
lastModifiedAt: DateTime
sequenceNumber: Long
resourceVersion: Long
payloadNotIncluded: [[PayloadNotIncluded.svg PayloadNotIncluded]]
}
PayloadNotIncluded --> MessageDeliveryPayload #green;text:green : "payloadNotIncluded"
@enduml
|
3447689fcd275d22d7a4e74eb3e1cbd2fe046e6f | 0347ea57c03c88bb01ad6505cf4ab15ecdaf0d79 | /test3/src/BookManager.puml | 5b07a8edb3d60cf9df1f36f5492fc0cfe6249911 | [] | no_license | chengrui123456/is_analysis | 4343d136d8bd14ca9da504d203e554d943e0ae34 | afb021f2de9c8915ee7e1cf386627b49f884faec | refs/heads/master | 2020-04-25T13:34:18.812111 | 2019-05-09T01:09:16 | 2019-05-09T01:09:16 | 172,813,726 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,709 | puml | @startuml
abstract class 图书信息
abstract 查找图书
interface 预借图书
interface 登陆
interface 读者
interface 管理员
interface 归还图书
interface 逾期罚款
逾期罚款 --|> 归还图书
图书信息 --o 查找图书
图书信息 <-- 预借图书
图书信息 <-- 归还图书
登陆 <|-- 管理员
登陆 <|-- 读者
管理员 ..|> 查找图书
读者 ..|> 查找图书
登陆 "1..*" -- "0..n" 管理员
登陆 "1..*" -- "0..n" 读者
查找图书 "1..*" -- "0..n" 图书信息
预借图书 "1..*" -- "0..n" 图书信息
归还图书 "1..*" -- "0..n" 图书信息
归还图书 "1..*" -- "1..*" 逾期罚款
读者 "0..n*" -- "0..n" 管理员
读者 "1..*" -- "0..n" 查找图书
管理员"1..*" -- "0..n" 查找图书
class 图书信息 {
-书名
-作者
-ISBN
-书的总数量
-已借出数量
-书的种类
查询()
增添()
修改()
删除()
借书()
归还()
续借()
预借()
}
class 登陆 {
-用户名
-密码
修改用户信息()
修改密码()
}
class 查找图书 {
-书名
-作者
-ISBN
-书的种类
-显示图书信息
借书()
归还()
续借()
预借()
取消预借()
}
class 预借图书 {
-显示图书信息
-预借时间
-预借数量
-修改预借
创建预借对象()
修改预借对象()
删除预借对象()
}
class 读者{
-姓名
-账号
-借阅证编码
-可借出书本的总数量
-已借出数量
-借出书本信息
-借书卡挂失
查询()
借书()
归还()
续借()
预借()
}
class 管理员{
-姓名
-账号
-借书卡挂失处理
查询()
}
class 归还图书 {
-书名
-作者
-ISBN
-书的种类
-显示图书信息
-显示读者信息
-逾期罚款
预借()
取消预借()
交罚款()
}
class 逾期罚款 {
交罚款()
}
@enduml |
b888ca7f09a83db84576c04a12691e7960219b2b | 873261e2d27905478bc72db08106f6a3c86eb90c | /ProyectoTDP/src/Engine/Engine.puml | 625b6e456eb30927f5cae79e6755c94b15699eec | [] | no_license | francoraniolo/PSS18-TPEO3-Com02 | f39929d8eab34d448e8661f1a6b6e04dc704a584 | 60b6f642a1dc85804ea82ad3825e1ec37086dbea | refs/heads/master | 2020-04-06T13:07:53.776674 | 2018-11-15T01:23:46 | 2018-11-15T01:23:46 | 157,426,565 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 4,976 | puml | @startuml
skinparam classAttributeIconSize 0
package Engine{
interface IEngine{
+{abstract}suscribeToUpdate(object:GameObject)
+{abstract}suscribeToUpdate(component:Component )
+{abstract}waitForFrames(action:Runnable , frames:int )
+{abstract}start();
+{abstract}Pauser():CorePauser
+{abstract}frameCounter():long
}
IEngine <|-- MyEngine
MyEngine -- "1" Core
MyEngine -- "2" IBroadcaster
class MyEngine{
#MyEngine();
+suscribeToUpdate(object:GameObject)+
+suscribeToUpdate(component:Component )+
+waitForFrames(action:Runnable , frames:int )+
+start();+
+Pauser():CorePauser+
+frameCounter():long+
}
interface IActivable{
isActive:boolean
setActive(a:boolean)
}
class Clock{
currentTimeNanos():long
}
IActivable <|-- Component
Component -- "1" GameObject
abstract class Component{
-active:boolean=true
+start()
+update()
#frameCounter():long
+OnEnable()
+OnDisable()
+OnDestroy()
+DestroyComponent()
+DestroyComponent()
+transform():Transform
#setGameObject(ref:GameObject)
+gameObject():GameObject
+isActive:boolean+
+setActive(a:boolean)+
}
GameObject -- "1" GameObject:root
note left on link: static
GameObject -- "*"GameObject:children,parent
GameObject -- "*"Component
GameObject -- "1"Transform
GameObject -- "1"HitBox
class GameObject
{
+{static} getRoot():GameObject
-GameObject()
-GameObject(parent:GameObject)
+addHitBox(c:HitBox ):HitBox
+<S extends Component> addComponent(S c):S
+getComponents():Iterable<Component>
+void sendMessage( consumer:Consumer<Component>)
+<C extends Component> addChild(Iterable<C> components):GameObject
+addChild():GameObject
+removeComponent(c:Component )
+getParent():GameObject
+children():Iterable<GameObject>
+transform():Transform
+Update()
+destroy()
-onDestroy:Runnable
+setOnDestroy(r:Runnable )
+SetEnabled(enabled:boolean)
+getHitbox():HitBox
+size():int
+SizeComps():int
-renderer:Renderizable
+setRenderer(rend:Renderizable)
+getRenderer():Renderizable
+getChildren():Iterable<GameObject>
}
Component <|-- Transform
Transform -- "2" Vector2: position,top
class Transform{
-ZCompontent:float
-lifetime:int
+Transform()
-Transform(position:Vector2)
+update()+
+position():Vector2
+position3():Vector3
+top():Vector2
+top(length:float):Vector2
+setPosition(position:Vector2)
+setTop(position:Vector2)
+rotate(angle:float)
+setFromPrototype(prototype:Transform)
+moveTowards(direction:Vector2)
+getZcomponent():float
+setZcomponent()
+getLifetime():int
}
Core -- "1" Core:instance
note on link: static
Core -- "4" IBroadcaster
Core -- "2" Invoker
Core -- "*" Runnable: Runnables for each frame
class Core{
-FPS:short
-paused:boolean
-currentFrame:long
-exit:boolean
-debt:long
#{static}getInstance():Core
-Core()
-clean()
-endOfFrame()
-mainLoop()
-sleep(time:long)
+Start()
+waitForSeconds(action:Runnable,seconds:float)
+waitForFrames(action:Runnable,frames:int)
+setPaused(p:boolean)
+isPaused():boolean
+frameCounter():long
}
KeyListener <|-- Transform
CorePauser -- "1" CorePauser:instance
note left on link: static
CorePauser -- "1" Core
class CorePauser
{
-paused = false:boolean
-CorePauser()
+{static} CorePauser Instance()
+keyTyped(e:KeyEvent )+
+keyPressed(e:KeyEvent ) +
+keyReleased(e:KeyEvent ) +
}
Component <|-- DoWhen
class DoWhen {
-condition:Callable<boolean>
-codeBlock:Runnable
-cond:boolean
+DoWhen(condition:Callable<Boolean>, Runnable action)
+update()+
-checks():Boolean
}
EngineGetter -- "1" EngineGetter:instance
note left on link: static
EngineGetter -- "1" IEngine
class EngineGetter
{
+ {static} Instance():EngineGetter
- EngineGetter()
+get():IEngine
}
Component <|-- While
class While
{
-condition:Callable<boolean>
-codeBlock:Runnable
-onComplete:Runnable
-cond:boolean
-runs:boolean
+While(condition:Callable<Boolean> ,codeBlock:Runnable)
+update()+
-checks():Boolean
+Excecute()
+OnComplete(onComplete:Runnable )
}
}
@enduml
|
0252c359b2312963ee4877afcefb3aa09f903262 | f7389ede7c743b8ce3d174eee24ebcab316354f6 | /Diagrammer/Robo_Sumo_Battle/Communication/Classes/Wifi/WifiClass.plantuml | 8ab5c5a2226b5cb766e8ede32a5256f7c197c89b | [] | no_license | Solvgraa-mager/E3PRJ3 | 7e2b70775c0d8b8312bc893e0c9014fd766af9b0 | fb507b5528417459714c00b73c75378d6465af19 | refs/heads/master | 2023-01-31T11:01:30.966313 | 2020-12-18T10:28:55 | 2020-12-18T10:28:55 | 294,479,612 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 233 | plantuml | class Wifi{
+Wifi();
+createHotspot(string SSID, string passphrase)
+closeHotspot()
+connectToWifi(string SSID, string passphrase, string MAC)
+disconnectToWifi()
-SSID
-Passphrase
-MAC
~Wifi();
}
|
21e08093d1404a42b27926a8b8c8da771885906b | 2bdea266b9dbed4c9c7a2010bf5b3caf61d1174c | /src/main/java/ua/knucea/domain/entity/uml/User.puml | 6510cb39b7b1459e5573a797b68ef61a71b05b6d | [] | no_license | Spotyk/springApp | e0a5b58f9e99e6cc75c4104fbdfa7864049f34f3 | b1e7da87e211fcb79204e09af15286109516db84 | refs/heads/master | 2021-12-11T16:58:31.134179 | 2021-09-14T17:18:51 | 2021-09-14T17:18:51 | 226,185,934 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 305 | puml | @startuml
class User{
name:String
password:String
email:String
state:String
country:String
avatarPath:String
active:boolean
role:String
birthDate:Date
isAdmin()
setBirthDate()
getBirthDate()
setAvatarPath()
getState()
setState()
setCountry()
getCountry()
setEmail()
getEmail()
}
@enduml |
cfaf9a2fd61a84cf396bc872489a144cffb6dcf1 | fafaf973381b21bea8eb334545ded62282cba3a2 | /prototype/Prototype.plantuml | ee5fa8f4a83d13dde22d2949eb30d9ff5aae7b91 | [] | no_license | recepkaraca/DesignPatternsCourse | d9edc61009b4313a08b0383473b0d97f8fb0a2dd | 69f507ebec842c6b50e9a2a093496f62760170fe | refs/heads/master | 2022-09-11T10:19:54.206890 | 2020-06-02T22:51:09 | 2020-06-02T22:51:09 | 245,816,321 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 459 | plantuml | @startuml scenario_uml
skinparam classAttributeIconSize 0
left to right direction
abstract class BookPrototype{
+int BookId
+string BookName
+string bookCategory
+BookPrototype()
{abstract}+BookProtype Clone()
}
class BookForDeep{
+BookForDeep()
}
class BookForShallow{
+BookForShallow()
}
class PrototypeRun{
+Main()
}
PrototypeRun --> BookPrototype
BookForShallow -|> BookPrototype
BookForDeep -|> BookPrototype
@enduml |
301bce5a9d62b443bbd4d378460eaa8efca10583 | 02a364d6cc772a9bf2e72d02dbecca74ac14d335 | /eCommerce-Core-2/DPLRef.eCommerce/plantuml/DPLRef.eCommerce.Engines/DTOMapper.puml | 3b85297feedf34d924e758676d7664ffbe968b02 | [
"BSD-3-Clause"
] | permissive | noelmartens/TransitionAcademy | 4e02379d234aa4859a497ee2846420f4c55b9e12 | 3b95a5c737ab7b1497b77d455cf64caa73f69e1f | refs/heads/master | 2023-06-14T05:25:35.514249 | 2021-07-02T19:40:29 | 2021-07-02T19:40:29 | 362,512,351 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 226 | puml | @startuml
class DTOMapper <<static>> {
+ {static} Map(source:object, dest:object) : void
+ {static} Map(source:object) : T
}
DTOMapper --> "_mapper" IMapper
DTOMapper --> "Configuration" IConfigurationProvider
@enduml
|
44e8e8abfc8bb28eb11e3d3e67a88d84a19f867d | dc20115738d63d9d0dbd16fab019785740465cc7 | /plantuml/Users/hunter/Coding/maternity-ward-system/Cleaner.puml | edcc6cf8202834bce7133affabd5ef339b2f4998 | [] | no_license | W0lfCr0w/maternity-ward-system | b2a9201111079ce3f638ff78cadb6aa9ecb4e04f | ee9aac0f52841c4083f1666dc4628f9c0d9b34af | refs/heads/main | 2023-06-06T10:33:10.231707 | 2021-06-29T10:20:54 | 2021-06-29T10:20:54 | 379,371,068 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 304 | puml | @startuml
class Cleaner {
+ HourlyPay : double <<get>>
+ Cleaner(fname:string, lname:string, id:string, age:int, hours:double)
+ Cleaner(fname:string, lname:string, id:string, age:int)
+ <<override>> EndOfMonthSalary() : double
}
Employee <|-- Cleaner
IMinorEmployee <|-- Cleaner
@enduml
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.