Package sc.fiji.snt.analysis.growth
Record Class GrowthAnalyzer.TimePoint
java.lang.Object
java.lang.Record
sc.fiji.snt.analysis.growth.GrowthAnalyzer.TimePoint
- Enclosing class:
GrowthAnalyzer
Represents a single time point measurement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intframe()Returns the value of theframerecord component.final inthashCode()Returns a hash code value for this object.doublelength()Returns the value of thelengthrecord component.path()Returns the value of thepathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TimePoint
Creates an instance of aTimePointrecord class.- Parameters:
frame- the value for theframerecord componentlength- the value for thelengthrecord componentpath- the value for thepathrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
frame
public int frame()Returns the value of theframerecord component.- Returns:
- the value of the
framerecord component
-
length
public double length()Returns the value of thelengthrecord component.- Returns:
- the value of the
lengthrecord component
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-