Package cdc.applic.factorization
Interface DefinitionAnalyzer<T>
public interface DefinitionAnalyzer<T>
-
Method Summary
Modifier and TypeMethodDescriptionintgetDefinitionHash(T object) Returns a hash of the definition of an object.booleanhaveSameDefinition(T object1, T object2) Returnstrueif 2 objects have the same definition.
-
Method Details
-
getDefinitionHash
Returns a hash of the definition of an object.- Parameters:
object- The object.- Returns:
- A hash of the definition of
object.
-
haveSameDefinition
Returnstrueif 2 objects have the same definition.- Parameters:
object1- The first object.object2- The second object.- Returns:
trueifobject1andobject2have the same definition.
-