Record Class SequenceAligner.AlignmentResult
java.lang.Object
java.lang.Record
org.episteme.natural.biology.genetics.SequenceAligner.AlignmentResult
- Enclosing class:
SequenceAligner
-
Constructor Summary
ConstructorsConstructorDescriptionAlignmentResult(String alignedSeq1, String alignedSeq2, Real score) Creates an instance of aAlignmentResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealignedSeq1record component.Returns the value of thealignedSeq2record component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.score()Returns the value of thescorerecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
AlignmentResult
Creates an instance of aAlignmentResultrecord class.- Parameters:
alignedSeq1- the value for thealignedSeq1record componentalignedSeq2- the value for thealignedSeq2record componentscore- the value for thescorerecord component
-
-
Method Details
-
toString
-
hashCode
-
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 withObjects::equals(Object,Object). -
alignedSeq1
Returns the value of thealignedSeq1record component.- Returns:
- the value of the
alignedSeq1record component
-
alignedSeq2
Returns the value of thealignedSeq2record component.- Returns:
- the value of the
alignedSeq2record component
-
score
Returns the value of thescorerecord component.- Returns:
- the value of the
scorerecord component
-