java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.ConfigP16
public record ConfigP16(Integer max_main_validators, Integer max_validators, Integer min_validators)
extends Record
Validators count;
-
Constructor Summary
Constructors -
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.Returns the value of themax_main_validators
record component.Returns the value of themax_validators
record component.Returns the value of themin_validators
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ConfigP16
Creates an instance of aConfigP16
record class.- Parameters:
max_main_validators
- the value for themax_main_validators
record componentmax_validators
- the value for themax_validators
record componentmin_validators
- the value for themin_validators
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)
. -
max_main_validators
Returns the value of themax_main_validators
record component.- Returns:
- the value of the
max_main_validators
record component
-
max_validators
Returns the value of themax_validators
record component.- Returns:
- the value of the
max_validators
record component
-
min_validators
Returns the value of themin_validators
record component.- Returns:
- the value of the
min_validators
record component
-