Record Class SlimPhosphorusFunctions.LeachingResult
java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.slim.SlimPhosphorusFunctions.LeachingResult
- Enclosing class:
- SlimPhosphorusFunctions
-
Constructor Summary
ConstructorsConstructorDescriptionLeachingResult(Double[] Dissolved, Double[] DissolvedChangeRate, Double[] DissolvedFlow) Creates an instance of aLeachingResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionDouble[]Returns the value of theDissolvedrecord component.Double[]Returns the value of theDissolvedChangeRaterecord component.Double[]Returns the value of theDissolvedFlowrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LeachingResult
Creates an instance of aLeachingResultrecord class.- Parameters:
Dissolved- the value for theDissolvedrecord componentDissolvedChangeRate- the value for theDissolvedChangeRaterecord componentDissolvedFlow- the value for theDissolvedFlowrecord 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 withObjects::equals(Object,Object). -
Dissolved
Returns the value of theDissolvedrecord component.- Returns:
- the value of the
Dissolvedrecord component
-
DissolvedChangeRate
Returns the value of theDissolvedChangeRaterecord component.- Returns:
- the value of the
DissolvedChangeRaterecord component
-
DissolvedFlow
Returns the value of theDissolvedFlowrecord component.- Returns:
- the value of the
DissolvedFlowrecord component
-