Record Class AMPSomFunctions.DomFlows
java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.som.AMPSomFunctions.DomFlows
- Enclosing class:
- AMPSomFunctions
public static record AMPSomFunctions.DomFlows(AMPSomFunctions.DomVariablesArray NetFlow, AMPSomFunctions.DomVariablesArray DownFlow, AMPSomFunctions.DomVariablesArray NewSoilDom)
extends Record
-
Constructor Summary
ConstructorDescriptionDomFlows
(AMPSomFunctions.DomVariablesArray NetFlow, AMPSomFunctions.DomVariablesArray DownFlow, AMPSomFunctions.DomVariablesArray NewSoilDom) Creates an instance of aDomFlows
record class. -
Method Summary
Modifier and TypeMethodDescriptionDownFlow()
Returns the value of theDownFlow
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.NetFlow()
Returns the value of theNetFlow
record component.Returns the value of theNewSoilDom
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
DomFlows
public DomFlows(AMPSomFunctions.DomVariablesArray NetFlow, AMPSomFunctions.DomVariablesArray DownFlow, AMPSomFunctions.DomVariablesArray NewSoilDom) Creates an instance of aDomFlows
record class.- Parameters:
NetFlow
- the value for theNetFlow
record componentDownFlow
- the value for theDownFlow
record componentNewSoilDom
- the value for theNewSoilDom
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)
. -
NetFlow
Returns the value of theNetFlow
record component.- Returns:
- the value of the
NetFlow
record component
-
DownFlow
Returns the value of theDownFlow
record component.- Returns:
- the value of the
DownFlow
record component
-
NewSoilDom
Returns the value of theNewSoilDom
record component.- Returns:
- the value of the
NewSoilDom
record component
-