⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 response.java

📁 毕业设计(模拟网络聊天工具而设计)
💻 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 + -