📄 response.java
字号:
package qq.entity;
import java.io.*;
public class Response implements Serializable{
private RequestType type;//响应类型
private Serializable value;//响应的值
private static final long serialVersionUID = 12071113985L;
public Response(RequestType type){
this.type=type;
}
public void setData(Serializable value){
this.value=value;
}
public Serializable getData(){
return value;
}
public RequestType getType(){
return type;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -