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_price
record component.Returns the value of thecell_price
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.Returns the value of themax_losses
record component.Returns the value of themax_store_sec
record component.Returns the value of themax_tot_rounds
record component.Returns the value of themin_store_sec
record component.Returns the value of themin_tot_rounds
record component.min_wins()
Returns the value of themin_wins
record component.final String
toString()
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 aConfigProposalSetup
record class.- Parameters:
bit_price
- the value for thebit_price
record componentcell_price
- the value for thecell_price
record componentmax_losses
- the value for themax_losses
record componentmax_store_sec
- the value for themax_store_sec
record componentmax_tot_rounds
- the value for themax_tot_rounds
record componentmin_store_sec
- the value for themin_store_sec
record componentmin_tot_rounds
- the value for themin_tot_rounds
record componentmin_wins
- the value for themin_wins
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)
. -
bit_price
Returns the value of thebit_price
record component.- Returns:
- the value of the
bit_price
record component
-
cell_price
Returns the value of thecell_price
record component.- Returns:
- the value of the
cell_price
record component
-
max_losses
Returns the value of themax_losses
record component.- Returns:
- the value of the
max_losses
record component
-
max_store_sec
Returns the value of themax_store_sec
record component.- Returns:
- the value of the
max_store_sec
record component
-
max_tot_rounds
Returns the value of themax_tot_rounds
record component.- Returns:
- the value of the
max_tot_rounds
record component
-
min_store_sec
Returns the value of themin_store_sec
record component.- Returns:
- the value of the
min_store_sec
record component
-
min_tot_rounds
Returns the value of themin_tot_rounds
record component.- Returns:
- the value of the
min_tot_rounds
record component
-
min_wins
Returns the value of themin_wins
record component.- Returns:
- the value of the
min_wins
record component
-