message.java
来自「基于jxta的peer to peer 聊天程序源代码。」· Java 代码 · 共 20 行
JAVA
20 行
import net.jini.entry.AbstractEntry;
public class Message extends AbstractEntry {
public String to;
public String from;
public String text;
public Message()
{
this(null,null,null);
}
public Message(String to, String from, String text) {
super();
this.to = to;
this.from = from;
this.text = text;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?