Record Class ProteinSecondaryStructure.StructurePrediction
java.lang.Object
java.lang.Record
org.episteme.natural.biology.ProteinSecondaryStructure.StructurePrediction
- Enclosing class:
ProteinSecondaryStructure
-
Constructor Summary
ConstructorsConstructorDescriptionStructurePrediction(String sequence, String prediction, double[] helixProbabilities, double[] sheetProbabilities, double[] coilProbabilities) Creates an instance of aStructurePredictionrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondouble[]Returns the value of thecoilProbabilitiesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.double[]Returns the value of thehelixProbabilitiesrecord component.Returns the value of thepredictionrecord component.sequence()Returns the value of thesequencerecord component.double[]Returns the value of thesheetProbabilitiesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
StructurePrediction
public StructurePrediction(String sequence, String prediction, double[] helixProbabilities, double[] sheetProbabilities, double[] coilProbabilities) Creates an instance of aStructurePredictionrecord class.- Parameters:
sequence- the value for thesequencerecord componentprediction- the value for thepredictionrecord componenthelixProbabilities- the value for thehelixProbabilitiesrecord componentsheetProbabilities- the value for thesheetProbabilitiesrecord componentcoilProbabilities- the value for thecoilProbabilitiesrecord 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). -
sequence
Returns the value of thesequencerecord component.- Returns:
- the value of the
sequencerecord component
-
prediction
Returns the value of thepredictionrecord component.- Returns:
- the value of the
predictionrecord component
-
helixProbabilities
public double[] helixProbabilities()Returns the value of thehelixProbabilitiesrecord component.- Returns:
- the value of the
helixProbabilitiesrecord component
-
sheetProbabilities
public double[] sheetProbabilities()Returns the value of thesheetProbabilitiesrecord component.- Returns:
- the value of the
sheetProbabilitiesrecord component
-
coilProbabilities
public double[] coilProbabilities()Returns the value of thecoilProbabilitiesrecord component.- Returns:
- the value of the
coilProbabilitiesrecord component
-