edu.stanford.nlp.util
Interface Internable
- All Known Implementing Classes:
- Edge
- public interface Internable
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.
weakEquals
public boolean weakEquals(Object o)
weakHashCode
public int weakHashCode()
Stanford NLP Group