Record Class Selector.Condition.KeybindDown
java.lang.Object
java.lang.Record
com.github.darksoulq.abyssallib.server.resource.asset.definition.Selector.Condition.KeybindDown
- All Implemented Interfaces:
Selector.Condition.Property
- Enclosing class:
Selector.Condition
public static record Selector.Condition.KeybindDown(Selector.Condition.KeybindDown.Keybind keybind)
extends Record
implements Selector.Condition.Property
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aKeybindDownrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()keybind()Returns the value of thekeybindrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
KeybindDown
Creates an instance of aKeybindDownrecord class.- Parameters:
keybind- the value for thekeybindrecord component
-
-
Method Details
-
id
- Specified by:
idin interfaceSelector.Condition.Property
-
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). -
keybind
Returns the value of thekeybindrecord component.- Returns:
- the value of the
keybindrecord component
-