internable.java

来自「Standord Classifier实现了一个基于Java的最大熵分类器。用于」· Java 代码 · 共 18 行

JAVA
18
字号
package edu.stanford.nlp.util;/** *  Internable: Interface for objects which are to be interned. *  Such objects *  should implement weakEquals and weakHashCode methods which are *  used by the Interner to map them.  Note that if an object also *  provides an expensive equals and hashCode, these *will* still be *  used by Java collections. * *  @author Dan Klein *  @version   1/3/01 */public interface Internable {  public boolean weakEquals(Object o);  public int weakHashCode();}

⌨️ 快捷键说明

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