Record Class MatchFunctionsTask.LocalBSimMatch

java.lang.Object
java.lang.Record
ghidra.features.bsim.gui.structs.MatchFunctionsTask.LocalBSimMatch
Enclosing class:
MatchFunctionsTask

public static record MatchFunctionsTask.LocalBSimMatch(Function sourceFunc, Function targetFunc, double sim, double significance) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    LocalBSimMatch(Function sourceFunc, Function targetFunc, double sim, double significance)
    Creates an instance of a LocalBSimMatch record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    double
    Returns the value of the significance record component.
    double
    sim()
    Returns the value of the sim record component.
    Returns the value of the sourceFunc record component.
    Returns the value of the targetFunc record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • LocalBSimMatch

      public LocalBSimMatch(Function sourceFunc, Function targetFunc, double sim, double significance)
      Creates an instance of a LocalBSimMatch record class.
      Parameters:
      sourceFunc - the value for the sourceFunc record component
      targetFunc - the value for the targetFunc record component
      sim - the value for the sim record component
      significance - the value for the significance record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • sourceFunc

      public Function sourceFunc()
      Returns the value of the sourceFunc record component.
      Returns:
      the value of the sourceFunc record component
    • targetFunc

      public Function targetFunc()
      Returns the value of the targetFunc record component.
      Returns:
      the value of the targetFunc record component
    • sim

      public double sim()
      Returns the value of the sim record component.
      Returns:
      the value of the sim record component
    • significance

      public double significance()
      Returns the value of the significance record component.
      Returns:
      the value of the significance record component