java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.ConfigP11
public record ConfigP11(ConfigProposalSetup critical_params, ConfigProposalSetup normal_params)
extends Record
Config voting setup;
-
Constructor Summary
ConstructorsConstructorDescriptionConfigP11
(ConfigProposalSetup critical_params, ConfigProposalSetup normal_params) Creates an instance of aConfigP11
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecritical_params
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 thenormal_params
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ConfigP11
Creates an instance of aConfigP11
record class.- Parameters:
critical_params
- the value for thecritical_params
record componentnormal_params
- the value for thenormal_params
record component
-
-
Method Details
-
toString
-
hashCode
-
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)
. -
critical_params
Returns the value of thecritical_params
record component.- Returns:
- the value of the
critical_params
record component
-
normal_params
Returns the value of thenormal_params
record component.- Returns:
- the value of the
normal_params
record component
-