public class ImmutableHashableObjectFactory extends java.lang.Object implements HashableObjectFactory
Modifier and Type | Class and Description |
---|---|
class |
ImmutableHashableObjectFactory.ImmutableHashableObject |
Constructor and Description |
---|
ImmutableHashableObjectFactory(SimpleHashableStateFactory stateFactory,
boolean identifierIndependent) |
Modifier and Type | Method and Description |
---|---|
protected int |
computeHashCode(ObjectInstance object) |
HashableValueFactory |
getValueHashFactory() |
ImmutableHashableObjectFactory.ImmutableHashableObject |
hashObject(ImmutableObjectInstance immObj) |
HashableObject |
hashObject(ObjectInstance object) |
boolean |
objectValuesEqual(ImmutableObjectInstance o1,
ImmutableObjectInstance o2) |
public ImmutableHashableObjectFactory(SimpleHashableStateFactory stateFactory, boolean identifierIndependent)
public HashableObject hashObject(ObjectInstance object)
hashObject
in interface HashableObjectFactory
public ImmutableHashableObjectFactory.ImmutableHashableObject hashObject(ImmutableObjectInstance immObj)
public boolean objectValuesEqual(ImmutableObjectInstance o1, ImmutableObjectInstance o2)
protected int computeHashCode(ObjectInstance object)
public HashableValueFactory getValueHashFactory()
getValueHashFactory
in interface HashableObjectFactory