java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.ConfigP28
public record ConfigP28(Float mc_catchain_lifetime, Float shard_catchain_lifetime, Float shard_validators_lifetime, Float shard_validators_num, Boolean shuffle_mc_validators)
extends Record
Catchain config;
-
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 themc_catchain_lifetime
record component.Returns the value of theshard_catchain_lifetime
record component.Returns the value of theshard_validators_lifetime
record component.Returns the value of theshard_validators_num
record component.Returns the value of theshuffle_mc_validators
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ConfigP28
public ConfigP28(Float mc_catchain_lifetime, Float shard_catchain_lifetime, Float shard_validators_lifetime, Float shard_validators_num, Boolean shuffle_mc_validators) Creates an instance of aConfigP28
record class.- Parameters:
mc_catchain_lifetime
- the value for themc_catchain_lifetime
record componentshard_catchain_lifetime
- the value for theshard_catchain_lifetime
record componentshard_validators_lifetime
- the value for theshard_validators_lifetime
record componentshard_validators_num
- the value for theshard_validators_num
record componentshuffle_mc_validators
- the value for theshuffle_mc_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)
. -
mc_catchain_lifetime
Returns the value of themc_catchain_lifetime
record component.- Returns:
- the value of the
mc_catchain_lifetime
record component
-
shard_catchain_lifetime
Returns the value of theshard_catchain_lifetime
record component.- Returns:
- the value of the
shard_catchain_lifetime
record component
-
shard_validators_lifetime
Returns the value of theshard_validators_lifetime
record component.- Returns:
- the value of the
shard_validators_lifetime
record component
-
shard_validators_num
Returns the value of theshard_validators_num
record component.- Returns:
- the value of the
shard_validators_num
record component
-
shuffle_mc_validators
Returns the value of theshuffle_mc_validators
record component.- Returns:
- the value of the
shuffle_mc_validators
record component
-