📄 talkrequest.java
字号:
package com.croftsoft.apps.chat.request; import com.croftsoft.core.lang.NullArgumentException; import com.croftsoft.core.security.Authentication; /********************************************************************* * A request to talk. * * @version * 2003-06-20 * @since * 2003-06-11 * @author * <a href="http://www.croftsoft.com/">David Wallace Croft</a> *********************************************************************/ public final class TalkRequest extends CoalesceableRequest ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// { private static final long serialVersionUID = 0L; // private final String text; ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// public TalkRequest ( Authentication authentication, String text ) ////////////////////////////////////////////////////////////////////// { super ( authentication ); NullArgumentException.check ( this.text = text ); } ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// public String getText ( ) { return text; } ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// public boolean equals ( Object other ) ////////////////////////////////////////////////////////////////////// { if ( other == null ) { return false; } if ( other.getClass ( ) != TalkRequest.class ) { return false; } return true; } ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -