Record Class SlimPhosphorusFunctions.LeachingResult
java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.slim.SlimPhosphorusFunctions.LeachingResult
- Enclosing class:
- SlimPhosphorusFunctions
-
Constructor Summary
ConstructorDescriptionLeachingResult
(Double[] Dissolved, Double[] DissolvedChangeRate, Double[] DissolvedFlow) Creates an instance of aLeachingResult
record class. -
Method Summary
Modifier and TypeMethodDescriptionDouble[]
Returns the value of theDissolved
record component.Double[]
Returns the value of theDissolvedChangeRate
record component.Double[]
Returns the value of theDissolvedFlow
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
LeachingResult
Creates an instance of aLeachingResult
record class.- Parameters:
Dissolved
- the value for theDissolved
record componentDissolvedChangeRate
- the value for theDissolvedChangeRate
record componentDissolvedFlow
- the value for theDissolvedFlow
record 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 theDissolved
record component.- Returns:
- the value of the
Dissolved
record component
-
DissolvedChangeRate
Returns the value of theDissolvedChangeRate
record component.- Returns:
- the value of the
DissolvedChangeRate
record component
-
DissolvedFlow
Returns the value of theDissolvedFlow
record component.- Returns:
- the value of the
DissolvedFlow
record component
-