Record Class GrowthAnalyzer.RetractionEvent

java.lang.Object
java.lang.Record
sc.fiji.snt.analysis.growth.GrowthAnalyzer.RetractionEvent
Enclosing class:
GrowthAnalyzer

public static record GrowthAnalyzer.RetractionEvent(int startFrame, int endFrame, double startTime, double endTime, double duration, double startLength, double endLength, double lengthChange, double rate) extends Record
Represents a retraction event
  • Constructor Summary

    Constructors
    Constructor
    Description
    RetractionEvent(int startFrame, int endFrame, double startTime, double endTime, double duration, double startLength, double endLength, double lengthChange, double rate)
    Creates an instance of a RetractionEvent record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Returns the value of the duration record component.
    int
    Returns the value of the endFrame record component.
    double
    Returns the value of the endLength record component.
    double
    Returns the value of the endTime record component.
    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 lengthChange record component.
    double
    Returns the value of the rate record component.
    int
    Returns the value of the startFrame record component.
    double
    Returns the value of the startLength record component.
    double
    Returns the value of the startTime record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

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

    • RetractionEvent

      public RetractionEvent(int startFrame, int endFrame, double startTime, double endTime, double duration, double startLength, double endLength, double lengthChange, double rate)
      Creates an instance of a RetractionEvent record class.
      Parameters:
      startFrame - the value for the startFrame record component
      endFrame - the value for the endFrame record component
      startTime - the value for the startTime record component
      endTime - the value for the endTime record component
      duration - the value for the duration record component
      startLength - the value for the startLength record component
      endLength - the value for the endLength record component
      lengthChange - the value for the lengthChange record component
      rate - the value for the rate 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. All components in this record class are compared with '=='.
      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.
    • startFrame

      public int startFrame()
      Returns the value of the startFrame record component.
      Returns:
      the value of the startFrame record component
    • endFrame

      public int endFrame()
      Returns the value of the endFrame record component.
      Returns:
      the value of the endFrame record component
    • startTime

      public double startTime()
      Returns the value of the startTime record component.
      Returns:
      the value of the startTime record component
    • endTime

      public double endTime()
      Returns the value of the endTime record component.
      Returns:
      the value of the endTime record component
    • duration

      public double duration()
      Returns the value of the duration record component.
      Returns:
      the value of the duration record component
    • startLength

      public double startLength()
      Returns the value of the startLength record component.
      Returns:
      the value of the startLength record component
    • endLength

      public double endLength()
      Returns the value of the endLength record component.
      Returns:
      the value of the endLength record component
    • lengthChange

      public double lengthChange()
      Returns the value of the lengthChange record component.
      Returns:
      the value of the lengthChange record component
    • rate

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