Contents
Record Class AbstractCommand.SuggestionOverrideEntry
java.lang.Object
java.lang.Record
com.hypixel.hytale.server.core.command.system.AbstractCommand.SuggestionOverrideEntry
- Enclosing class:
AbstractCommand
public static record AbstractCommand.SuggestionOverrideEntry(int argStart, int argCount, @Nonnull ArgumentType<?> overrideType)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSuggestionOverrideEntry(int argStart, int argCount, ArgumentType<?> overrideType) Creates an instance of aSuggestionOverrideEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintargCount()Returns the value of theargCountrecord component.intargStart()Returns the value of theargStartrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ArgumentType<?> Returns the value of theoverrideTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SuggestionOverrideEntry
Creates an instance of aSuggestionOverrideEntryrecord class.- Parameters:
argStart- the value for theargStartrecord componentargCount- the value for theargCountrecord componentoverrideType- the value for theoverrideTyperecord component
-
-
Method Details
-
argTypeId
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
argStart
public int argStart()Returns the value of theargStartrecord component.- Returns:
- the value of the
argStartrecord component
-
argCount
public int argCount()Returns the value of theargCountrecord component.- Returns:
- the value of the
argCountrecord component
-
overrideType
Returns the value of theoverrideTyperecord component.- Returns:
- the value of the
overrideTyperecord component
-