coalesceablerequest.java

来自「CroftSoft Code Library是一个开源的可移植的纯Java游戏库」· Java 代码 · 共 45 行

JAVA
45
字号
     package com.croftsoft.apps.chat.request;     import com.croftsoft.core.security.Authentication;     /*********************************************************************     * A request that can be coalesced.     *     * @version     *   2003-06-20     * @since     *   2003-06-20     * @author     *   <a href="http://www.croftsoft.com/">David Wallace Croft</a>     *********************************************************************/     public abstract class  CoalesceableRequest       extends AbstractRequest     //////////////////////////////////////////////////////////////////////     //////////////////////////////////////////////////////////////////////     {     public  CoalesceableRequest ( Authentication  authentication )     //////////////////////////////////////////////////////////////////////     {       super ( authentication );     }     //////////////////////////////////////////////////////////////////////     //////////////////////////////////////////////////////////////////////     public boolean  equals ( Object  other )     //////////////////////////////////////////////////////////////////////     {       if ( other == null )       {         return false;       }       return this.getClass ( ) == other.getClass ( );     }     //////////////////////////////////////////////////////////////////////     //////////////////////////////////////////////////////////////////////     }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?