Record Class GenericTerminalConsole.Completion
java.lang.Object
java.lang.Record
com.soulfiremc.server.util.log4j.GenericTerminalConsole.Completion
- Enclosing class:
GenericTerminalConsole
-
Constructor Summary
ConstructorsConstructorDescriptionCompletion(String suggestion, @Nullable String tooltip) Creates an instance of aCompletionrecord 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.Returns the value of thesuggestionrecord component.@Nullable Stringtooltip()Returns the value of thetooltiprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Completion
-
-
Method Details
-
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). -
suggestion
Returns the value of thesuggestionrecord component.- Returns:
- the value of the
suggestionrecord component
-
tooltip
Returns the value of thetooltiprecord component.- Returns:
- the value of the
tooltiprecord component
-