| 构造器和说明 |
|---|
TaskDaoImpl(int size) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
add(CommandTask commandTask)
增加任务信息
|
CommandTask |
get(String taskId)
通过id查询任务信息
|
Collection<CommandTask> |
getAll()
查询全部任务信息
|
boolean |
isHave(String taskId)
判断是否存在某个ID
|
int |
remove(String taskId)
删除 任务id 对应的任务信息
|
int |
removeAll()
删除全部任务信息
|
public CommandTask get(String taskId)
TaskDaopublic Collection<CommandTask> getAll()
TaskDaopublic int add(CommandTask commandTask)
TaskDaopublic int removeAll()
TaskDaoCopyright © 2021. All rights reserved.