Package net.neoforged.testframework.conf
Record Class ClientConfiguration
java.lang.Object
java.lang.Record
net.neoforged.testframework.conf.ClientConfiguration
@ParametersAreNonnullByDefault
public record ClientConfiguration(int toggleOverlayKey, int openManagerKey)
extends Record
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final intThe field for theopenManagerKeyrecord component.private final intThe field for thetoggleOverlayKeyrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionClientConfiguration(int toggleOverlayKey, int openManagerKey) Creates an instance of aClientConfigurationrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionstatic ClientConfiguration.Builderbuilder()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of theopenManagerKeyrecord component.intReturns the value of thetoggleOverlayKeyrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
toggleOverlayKeyprivate final int toggleOverlayKeyThe field for thetoggleOverlayKeyrecord component.
- 
openManagerKeyprivate final int openManagerKeyThe field for theopenManagerKeyrecord component.
 
- 
- 
Constructor Details- 
ClientConfigurationpublic ClientConfiguration(int toggleOverlayKey, int openManagerKey) Creates an instance of aClientConfigurationrecord class.- Parameters:
- toggleOverlayKey- the value for the- toggleOverlayKeyrecord component
- openManagerKey- the value for the- openManagerKeyrecord component
 
 
- 
- 
Method Details- 
builder
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 with '=='.
- 
toggleOverlayKeypublic int toggleOverlayKey()Returns the value of thetoggleOverlayKeyrecord component.- Returns:
- the value of the toggleOverlayKeyrecord component
 
- 
openManagerKeypublic int openManagerKey()Returns the value of theopenManagerKeyrecord component.- Returns:
- the value of the openManagerKeyrecord component
 
 
-