Module java4ever.binding
Record Class ConfigProposalSetup
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.ConfigProposalSetup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebit_pricerecord component.Returns the value of thecell_pricerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themax_lossesrecord component.Returns the value of themax_store_secrecord component.Returns the value of themax_tot_roundsrecord component.Returns the value of themin_store_secrecord component.Returns the value of themin_tot_roundsrecord component.min_wins()Returns the value of themin_winsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConfigProposalSetup
public ConfigProposalSetup(Float bit_price, Float cell_price, Integer max_losses, Float max_store_sec, Integer max_tot_rounds, Float min_store_sec, Integer min_tot_rounds, Integer min_wins) Creates an instance of aConfigProposalSetuprecord class.- Parameters:
bit_price- the value for thebit_pricerecord componentcell_price- the value for thecell_pricerecord componentmax_losses- the value for themax_lossesrecord componentmax_store_sec- the value for themax_store_secrecord componentmax_tot_rounds- the value for themax_tot_roundsrecord componentmin_store_sec- the value for themin_store_secrecord componentmin_tot_rounds- the value for themin_tot_roundsrecord componentmin_wins- the value for themin_winsrecord 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). -
bit_price
Returns the value of thebit_pricerecord component.- Returns:
- the value of the
bit_pricerecord component
-
cell_price
Returns the value of thecell_pricerecord component.- Returns:
- the value of the
cell_pricerecord component
-
max_losses
Returns the value of themax_lossesrecord component.- Returns:
- the value of the
max_lossesrecord component
-
max_store_sec
Returns the value of themax_store_secrecord component.- Returns:
- the value of the
max_store_secrecord component
-
max_tot_rounds
Returns the value of themax_tot_roundsrecord component.- Returns:
- the value of the
max_tot_roundsrecord component
-
min_store_sec
Returns the value of themin_store_secrecord component.- Returns:
- the value of the
min_store_secrecord component
-
min_tot_rounds
Returns the value of themin_tot_roundsrecord component.- Returns:
- the value of the
min_tot_roundsrecord component
-
min_wins
Returns the value of themin_winsrecord component.- Returns:
- the value of the
min_winsrecord component
-