java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.ConfigP40
-
Constructor Summary
ConstructorsConstructorDescriptionConfigP40
(Float collations_score_weight, Float min_samples_count, Float min_slashing_protection_score, Float resend_mc_blocks_count, Float signing_score_weight, Float slashing_period_mc_blocks_count, Float z_param_denominator, Float z_param_numerator) Creates an instance of aConfigP40
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecollations_score_weight
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 themin_samples_count
record component.Returns the value of themin_slashing_protection_score
record component.Returns the value of theresend_mc_blocks_count
record component.Returns the value of thesigning_score_weight
record component.Returns the value of theslashing_period_mc_blocks_count
record component.final String
toString()
Returns a string representation of this record class.Returns the value of thez_param_denominator
record component.Returns the value of thez_param_numerator
record component.
-
Constructor Details
-
ConfigP40
public ConfigP40(Float collations_score_weight, Float min_samples_count, Float min_slashing_protection_score, Float resend_mc_blocks_count, Float signing_score_weight, Float slashing_period_mc_blocks_count, Float z_param_denominator, Float z_param_numerator) Creates an instance of aConfigP40
record class.- Parameters:
collations_score_weight
- the value for thecollations_score_weight
record componentmin_samples_count
- the value for themin_samples_count
record componentmin_slashing_protection_score
- the value for themin_slashing_protection_score
record componentresend_mc_blocks_count
- the value for theresend_mc_blocks_count
record componentsigning_score_weight
- the value for thesigning_score_weight
record componentslashing_period_mc_blocks_count
- the value for theslashing_period_mc_blocks_count
record componentz_param_denominator
- the value for thez_param_denominator
record componentz_param_numerator
- the value for thez_param_numerator
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)
. -
collations_score_weight
Returns the value of thecollations_score_weight
record component.- Returns:
- the value of the
collations_score_weight
record component
-
min_samples_count
Returns the value of themin_samples_count
record component.- Returns:
- the value of the
min_samples_count
record component
-
min_slashing_protection_score
Returns the value of themin_slashing_protection_score
record component.- Returns:
- the value of the
min_slashing_protection_score
record component
-
resend_mc_blocks_count
Returns the value of theresend_mc_blocks_count
record component.- Returns:
- the value of the
resend_mc_blocks_count
record component
-
signing_score_weight
Returns the value of thesigning_score_weight
record component.- Returns:
- the value of the
signing_score_weight
record component
-
slashing_period_mc_blocks_count
Returns the value of theslashing_period_mc_blocks_count
record component.- Returns:
- the value of the
slashing_period_mc_blocks_count
record component
-
z_param_denominator
Returns the value of thez_param_denominator
record component.- Returns:
- the value of the
z_param_denominator
record component
-
z_param_numerator
Returns the value of thez_param_numerator
record component.- Returns:
- the value of the
z_param_numerator
record component
-