Interface DefinitionAnalyzer<T>


public interface DefinitionAnalyzer<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns a hash of the definition of an object.
    boolean
    haveSameDefinition(T object1, T object2)
    Returns true if 2 objects have the same definition.
  • Method Details

    • getDefinitionHash

      int getDefinitionHash(T object)
      Returns a hash of the definition of an object.
      Parameters:
      object - The object.
      Returns:
      A hash of the definition of object.
    • haveSameDefinition

      boolean haveSameDefinition(T object1, T object2)
      Returns true if 2 objects have the same definition.
      Parameters:
      object1 - The first object.
      object2 - The second object.
      Returns:
      true if object1 and object2 have the same definition.