-
Notifications
You must be signed in to change notification settings - Fork 0
/
RPSE.puml
216 lines (213 loc) · 8.37 KB
/
RPSE.puml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
@startuml
interface com.dyj.requestpagingscheduleemulator.base.BaseView {
~ void showLoading(boolean)
~ void SuccessHideLoading(boolean)
~ void FailedHideLoading(boolean)
}
interface com.dyj.requestpagingscheduleemulator.module.main.view.IMainView {
}
class com.dyj.requestpagingscheduleemulator.util.MyUtil {
- {static} Application mApplicationContext
- {static} RxDialogLoading rxDialogLoading
+ {static} void initialize(Application)
+ {static} Application getApplication()
+ {static} void closeSoftKeyboard()
+ {static} String getString(int)
+ {static} void showLoading(Context)
+ {static} void dismissSuccessLoading()
+ {static} void dismissFailedLoading()
+ {static} int AppGetColor(int)
+ {static} int ViewGetColor(Context,int)
+ {static} int getWeatherIcon(Context,String)
+ {static} Bitmap compressBySize(Context,int,float,float)
+ {static} String split(String)
+ {static} int getNowHour()
+ {static} String getNowTime()
}
class com.dyj.requestpagingscheduleemulator.module.main.activity.SplashActivity {
# SplashPresenter createPresenter()
# void initView()
# void initData()
}
class com.dyj.requestpagingscheduleemulator.module.main.presenter.SplashPresenter {
}
class com.dyj.requestpagingscheduleemulator.app.App {
+ void onCreate()
}
abstract class com.dyj.requestpagingscheduleemulator.base.BaseActivity {
- VB binding
# P presenter
# {abstract}P createPresenter()
# {abstract}void initView()
# {abstract}void initData()
# void onCreate(Bundle)
# void onDestroy()
+ void showLoading(boolean)
+ void SuccessHideLoading(boolean)
+ void FailedHideLoading(boolean)
+ Boolean getDarkModeStatus(Context)
+ VB getBinding()
}
class com.dyj.requestpagingscheduleemulator.util.ActivityUtil {
- {static} Stack<Activity> activityStack
- {static} MyActivityLifecycleCallbacks instance
+ {static} ActivityLifecycleCallbacks getActivityLifecycleCallbacks()
+ {static} void finishActivity(Activity)
+ {static} void startActivity(Class)
+ {static} void startActivity(Class,boolean)
+ {static} void closeAllActivity()
+ {static} Activity getCurrentActivity()
+ {static} void actionStart(Class,int)
+ {static} int getIntentData()
}
class com.dyj.requestpagingscheduleemulator.util.ActivityUtil.MyActivityLifecycleCallbacks {
+ void onActivityCreated(Activity,Bundle)
+ void onActivityStarted(Activity)
+ void onActivityResumed(Activity)
+ void onActivityPaused(Activity)
+ void onActivityStopped(Activity)
+ void onActivitySaveInstanceState(Activity,Bundle)
+ void onActivityDestroyed(Activity)
}
class com.dyj.requestpagingscheduleemulator.bean.PageData {
- int waitData
- int data1
- int data2
- int data3
- int data4
+ int getWaitData()
+ void setWaitData(int)
+ int getData1()
+ void setData1(int)
+ int getData2()
+ void setData2(int)
+ int getData3()
+ void setData3(int)
+ int getData4()
+ void setData4(int)
}
interface com.dyj.requestpagingscheduleemulator.module.main.view.ISplashView {
}
class com.dyj.requestpagingscheduleemulator.module.result.adapter.DataAdapter {
# void convert(BaseViewHolder,Integer)
}
class com.dyj.requestpagingscheduleemulator.module.main.presenter.MainPresenter {
}
class com.dyj.requestpagingscheduleemulator.module.result.adapter.PageAdapter {
# void convert(BaseViewHolder,PageData)
}
class com.dyj.requestpagingscheduleemulator.util.ToastUtil {
- {static} Toast toast
+ {static} void showToast(String)
- {static} void createToast(String)
+ {static} void showCenterToast(String)
- {static} void createCenterToast(String)
+ {static} void cancelToast()
}
class com.dyj.requestpagingscheduleemulator.common.GlobalConstant {
+ {static} int LRU
+ {static} int OPT
+ {static} int FIFO
}
class com.dyj.requestpagingscheduleemulator.module.result.presenter.ResultPresenter {
~ List<PageData> list
~ List<Integer> datas
~ List<Integer> showData
~ HashMap<Integer,Integer> map
~ LinkedHashMap<Integer,Integer> link
~ int lost
+ void random(boolean)
+ void option(int,boolean)
- void OPT(int)
- void FIFO(int)
- void LRU(int)
- boolean check(PageData,int)
- void changeOPT(PageData,int,int)
- void changFIFO(PageData,int,int)
- void changLRU(PageData,int,int)
- void makeRecently(int,int)
}
class com.dyj.requestpagingscheduleemulator.module.result.activity.ResultActivity {
# ResultPresenter createPresenter()
# void initView()
# void initData()
+ void showPic(String)
+ void showInstructions(List<Integer>)
+ void showPages(List<PageData>)
+ void showMissingPageRate(int)
+ void showReInit()
+ void showRVData()
+ void showRVPages()
}
class com.dyj.requestpagingscheduleemulator.util.LogUtil {
- {static} String TAG
- {static} boolean IS_LOG
- {static} int MAX_LENGTH
- {static} Application mApplicationContext
+ {static} void setIsLog(boolean)
+ {static} void setIsLog(boolean,String)
+ {static} void i(String)
+ {static} void i(String,String)
+ {static} void d(String)
+ {static} void d(String,String)
+ {static} void e(String)
+ {static} void e(String,String)
- {static} String[] getAutoJumpLogInfos()
}
interface com.dyj.requestpagingscheduleemulator.module.result.view.IResult {
~ void showPic(String)
~ void showInstructions(List<Integer>)
~ void showPages(List<PageData>)
~ void showMissingPageRate(int)
~ void showReInit()
~ void showRVData()
~ void showRVPages()
}
class com.dyj.requestpagingscheduleemulator.base.BasePresenter {
+ V baseView
+ void detachView()
+ V getBaseView()
}
class com.dyj.requestpagingscheduleemulator.util.SpUtil {
- {static} String FILE_NAME
- {static} SharedPreferences sp
+ {static} void setString(String,String)
+ {static} String getString(String)
+ {static} void setInt(String,int)
+ {static} int getInt(String)
+ {static} void setBoolean(String,boolean)
+ {static} boolean getBoolean(String)
+ {static} void setFloat(String,Float)
+ {static} Float getFloat(String)
+ {static} void setLong(String,Long)
+ {static} Long getLong(String)
+ {static} void setDouble(String,double)
+ {static} double getDouble(String)
+ {static} void removeByKey(String)
+ {static} void removeAll()
}
class com.dyj.requestpagingscheduleemulator.module.main.activity.MainActivity {
# MainPresenter createPresenter()
# void initView()
# void initData()
}
com.dyj.requestpagingscheduleemulator.base.BaseView <|-- com.dyj.requestpagingscheduleemulator.module.main.view.IMainView
com.dyj.requestpagingscheduleemulator.module.main.view.ISplashView <|.. com.dyj.requestpagingscheduleemulator.module.main.activity.SplashActivity
com.dyj.requestpagingscheduleemulator.base.BaseActivity <|-- com.dyj.requestpagingscheduleemulator.module.main.activity.SplashActivity
com.dyj.requestpagingscheduleemulator.base.BasePresenter <|-- com.dyj.requestpagingscheduleemulator.module.main.presenter.SplashPresenter
android.app.Application <|-- com.dyj.requestpagingscheduleemulator.app.App
com.dyj.requestpagingscheduleemulator.base.BaseView <|.. com.dyj.requestpagingscheduleemulator.base.BaseActivity
androidx.appcompat.app.AppCompatActivity <|-- com.dyj.requestpagingscheduleemulator.base.BaseActivity
com.dyj.requestpagingscheduleemulator.util.ActivityUtil +.. com.dyj.requestpagingscheduleemulator.util.ActivityUtil.MyActivityLifecycleCallbacks
com.dyj.requestpagingscheduleemulator.util.ActivityLifecycleCallbacks <|.. com.dyj.requestpagingscheduleemulator.util.ActivityUtil.MyActivityLifecycleCallbacks
com.dyj.requestpagingscheduleemulator.base.BaseView <|-- com.dyj.requestpagingscheduleemulator.module.main.view.ISplashView
com.chad.library.adapter.base.BaseQuickAdapter <|-- com.dyj.requestpagingscheduleemulator.module.result.adapter.DataAdapter
com.dyj.requestpagingscheduleemulator.base.BasePresenter <|-- com.dyj.requestpagingscheduleemulator.module.main.presenter.MainPresenter
com.chad.library.adapter.base.BaseQuickAdapter <|-- com.dyj.requestpagingscheduleemulator.module.result.adapter.PageAdapter
com.dyj.requestpagingscheduleemulator.base.BasePresenter <|-- com.dyj.requestpagingscheduleemulator.module.result.presenter.ResultPresenter
com.dyj.requestpagingscheduleemulator.module.result.view.IResult <|.. com.dyj.requestpagingscheduleemulator.module.result.activity.ResultActivity
com.dyj.requestpagingscheduleemulator.base.BaseActivity <|-- com.dyj.requestpagingscheduleemulator.module.result.activity.ResultActivity
com.dyj.requestpagingscheduleemulator.base.BaseView <|-- com.dyj.requestpagingscheduleemulator.module.result.view.IResult
com.dyj.requestpagingscheduleemulator.module.main.view.IMainView <|.. com.dyj.requestpagingscheduleemulator.module.main.activity.MainActivity
com.dyj.requestpagingscheduleemulator.base.BaseActivity <|-- com.dyj.requestpagingscheduleemulator.module.main.activity.MainActivity
@enduml