Package sc.fiji.snt.analysis.growth
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
ConstructorsConstructorDescriptionRetractionEvent(int startFrame, int endFrame, double startTime, double endTime, double duration, double startLength, double endLength, double lengthChange, double rate) Creates an instance of aRetractionEventrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleduration()Returns the value of thedurationrecord component.intendFrame()Returns the value of theendFramerecord component.doubleReturns the value of theendLengthrecord component.doubleendTime()Returns the value of theendTimerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doubleReturns the value of thelengthChangerecord component.doublerate()Returns the value of theraterecord component.intReturns the value of thestartFramerecord component.doubleReturns the value of thestartLengthrecord component.doubleReturns the value of thestartTimerecord component.final StringtoString()Returns a string representation of this record class.
-
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 aRetractionEventrecord class.- Parameters:
startFrame- the value for thestartFramerecord componentendFrame- the value for theendFramerecord componentstartTime- the value for thestartTimerecord componentendTime- the value for theendTimerecord componentduration- the value for thedurationrecord componentstartLength- the value for thestartLengthrecord componentendLength- the value for theendLengthrecord componentlengthChange- the value for thelengthChangerecord componentrate- the value for theraterecord component
-
-
Method Details
-
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. -
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. -
equals
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 '=='. -
startFrame
public int startFrame()Returns the value of thestartFramerecord component.- Returns:
- the value of the
startFramerecord component
-
endFrame
public int endFrame()Returns the value of theendFramerecord component.- Returns:
- the value of the
endFramerecord component
-
startTime
public double startTime()Returns the value of thestartTimerecord component.- Returns:
- the value of the
startTimerecord component
-
endTime
public double endTime()Returns the value of theendTimerecord component.- Returns:
- the value of the
endTimerecord component
-
duration
public double duration()Returns the value of thedurationrecord component.- Returns:
- the value of the
durationrecord component
-
startLength
public double startLength()Returns the value of thestartLengthrecord component.- Returns:
- the value of the
startLengthrecord component
-
endLength
public double endLength()Returns the value of theendLengthrecord component.- Returns:
- the value of the
endLengthrecord component
-
lengthChange
public double lengthChange()Returns the value of thelengthChangerecord component.- Returns:
- the value of the
lengthChangerecord component
-
rate
public double rate()Returns the value of theraterecord component.- Returns:
- the value of the
raterecord component
-