externalactivityhandle.java

来自「jainslee1.0 源代码」· Java 代码 · 共 31 行

JAVA
31 行
字号
package javax.slee.connection;/** * A marker interface implemented by external activity handle implementations. * Instances implementing this interface are returned by * {@link SleeConnection#createActivityHandle}. * * @see SleeConnection */public interface ExternalActivityHandle extends java.io.Serializable {    /**     * Compares this handle to another for equality.     *     * @param other an object to compare to     * @return true if <code>other</code> refers to an ExternalActivityHandle     *   corresponding to the same underlying SLEE activity.     * @see Object#equals(Object)     */    boolean equals(Object other);    /**     * Returns a hashcode for this handle. Implementations of     * ExternalActivityHandle should ensure their implementation of hashCode()     * is consistent with equals().     *     * @return a hashcode value consistent with equals()     * @see Object#hashCode     */    int hashCode();}

⌨️ 快捷键说明

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