Record Class AMPSomFunctions.AdsParameters
java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.som.AMPSomFunctions.AdsParameters
- Enclosing class:
- AMPSomFunctions
-
Constructor Summary
ConstructorDescriptionAdsParameters
(Double[] KDesDom, Double[] KDesNecro, Double[] VAdsDom, Double[] VAdsNecro) Creates an instance of aAdsParameters
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Double[]
KDesDom()
Returns the value of theKDesDom
record component.Double[]
Returns the value of theKDesNecro
record component.final String
toString()
Returns a string representation of this record class.Double[]
VAdsDom()
Returns the value of theVAdsDom
record component.Double[]
Returns the value of theVAdsNecro
record component.
-
Constructor Details
-
AdsParameters
Creates an instance of aAdsParameters
record class.- Parameters:
KDesDom
- the value for theKDesDom
record componentKDesNecro
- the value for theKDesNecro
record componentVAdsDom
- the value for theVAdsDom
record componentVAdsNecro
- the value for theVAdsNecro
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)
. -
KDesDom
Returns the value of theKDesDom
record component.- Returns:
- the value of the
KDesDom
record component
-
KDesNecro
Returns the value of theKDesNecro
record component.- Returns:
- the value of the
KDesNecro
record component
-
VAdsDom
Returns the value of theVAdsDom
record component.- Returns:
- the value of the
VAdsDom
record component
-
VAdsNecro
Returns the value of theVAdsNecro
record component.- Returns:
- the value of the
VAdsNecro
record component
-