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.


Method Summary
 boolean weakEquals(Object o)
           
 int weakHashCode()
           
 

Method Detail

weakEquals

public boolean weakEquals(Object o)

weakHashCode

public int weakHashCode()


Stanford NLP Group