Package org.aksw.jenax.engine.qlever
Record Class RdfDatabaseBuilderQlever.FileAndCmd
java.lang.Object
java.lang.Record
org.aksw.jenax.engine.qlever.RdfDatabaseBuilderQlever.FileAndCmd
- Enclosing class:
- RdfDatabaseBuilderQlever
-
Constructor Summary
ConstructorsConstructorDescriptionFileAndCmd(String fileName, String[] cmd) Creates an instance of aFileAndCmdrecord class. -
Method Summary
Modifier and TypeMethodDescriptionString[]cmd()Returns the value of thecmdrecord component.final booleanIndicates whether some other object is "equal to" this one.fileName()Returns the value of thefileNamerecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FileAndCmd
Creates an instance of aFileAndCmdrecord class.- Parameters:
fileName- the value for thefileNamerecord componentcmd- the value for thecmdrecord component
-
-
Method Details
-
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
public final int 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. All components in this record class are compared withObjects::equals(Object,Object). -
fileName
Returns the value of thefileNamerecord component.- Returns:
- the value of the
fileNamerecord component
-
cmd
Returns the value of thecmdrecord component.- Returns:
- the value of the
cmdrecord component
-