Record Class CommandLineHelp
java.lang.Object
java.lang.Record
org.ek9lang.cli.CommandLineHelp
-
Constructor Summary
ConstructorsConstructorDescriptionCommandLineHelp(String helpText) Creates an instance of aCommandLineHelprecord 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.helpText()Returns the value of thehelpTextrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CommandLineHelp
public CommandLineHelp() -
CommandLineHelp
Creates an instance of aCommandLineHelprecord class.- Parameters:
helpText- the value for thehelpTextrecord component
-
-
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). -
helpText
Returns the value of thehelpTextrecord component.- Returns:
- the value of the
helpTextrecord component
-