Interface DataTypeGraphComparator.DataTypePairObserver

Enclosing class:
DataTypeGraphComparator

public static interface DataTypeGraphComparator.DataTypePairObserver
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Callback method called with a DataType from the first/left/src graph and its matching DataType element from the second/right/dest graph.
  • Method Details

    • observe

      boolean observe(DataType dt1, DataType dt2)
      Callback method called with a DataType from the first/left/src graph and its matching DataType element from the second/right/dest graph.

      This callback can choose to abort traversing the tree of child types if it returns false. (ie. if this was a Pointer DataType, returning false would stop the graph comparator from comparing the DataType pointed to by this Pointer)

      Parameters:
      dt1 - element from the first/left/src DataType graph
      dt2 - matching element from the second/right/dest DataType graph
      Returns:
      false if abort this subtree, true if continue