Interface GraphComparator.ID

Enclosing class:
GraphComparator

public static interface GraphComparator.ID
Callback used to obtain a unique identifier for a given object during graph comparison.
  • Method Summary

    Modifier and Type
    Method
    Description
    getId(Object objectToId)
    Return the identifier to use for the supplied object.
  • Method Details

    • getId

      Object getId(Object objectToId)
      Return the identifier to use for the supplied object.
      Parameters:
      objectToId - object from which to obtain an id
      Returns:
      unique identifier for the object