java.lang.Object
java.lang.Record
com.github.sormuras.bach.Main
- All Implemented Interfaces:
ToolProvider
Bach's main program.
-
Constructor Summary
Constructors -
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.static voidThe main entry-point.name()intrun(PrintWriter out, PrintWriter err, String... args) final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.spi.ToolProvider
run
-
Constructor Details
-
Main
public Main()Creates an instance of aMainrecord class.
-
-
Method Details
-
main
The main entry-point. -
name
- Specified by:
namein interfaceToolProvider
-
run
- Specified by:
runin interfaceToolProvider
-
toString
Returns 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. -
hashCode
Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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.
-