public abstract static class HashableObject.CachedHashableObject extends HashableObject
HashableObject.CachedHashableObject| Modifier and Type | Field and Description |
|---|---|
protected int |
hashCode |
protected boolean |
needToRecomputeHashCode |
source| Constructor and Description |
|---|
HashableObject.CachedHashableObject(ObjectInstance source)
Initializes the CachedHashableObject with the given
ObjectInstance object. |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
computeHashCode()
This method computes the hashCode for this
HashableState |
int |
hashCode() |
addAllRelationalTargets, addRelationalTarget, buildObjectDescription, clearRelationalTargets, copy, getAllRelationalTargets, getBooleanValForAttribute, getClassName, getDoubleArrayValForAttribute, getFeatureVec, getIntArrayValForAttribute, getIntValForAttribute, getName, getNormalizedFeatureVec, getNumericValForAttribute, getObjectClass, getObjectDescription, getObjectDescriptionWithNullForUnsetAttributes, getRealValForAttribute, getStringValForAttribute, getValueForAttribute, getValues, removeRelationalTarget, setName, setValue, setValue, setValue, setValue, setValue, setValue, setValue, unsetAttributes, valueEqualsprotected int hashCode
protected boolean needToRecomputeHashCode
public HashableObject.CachedHashableObject(ObjectInstance source)
ObjectInstance object.source - the ObjectInstance object this object will wrappublic abstract int computeHashCode()
HashableStatepublic int hashCode()
hashCode in class java.lang.Object