Record Class STNameAndCodeTuple
java.lang.Object
java.lang.Record
io.nosqlbench.nb.spectest.core.STNameAndCodeTuple
- All Implemented Interfaces:
STNodeReference
public record STNameAndCodeTuple(STNode nameNode, STNode dataNode)
extends Record
implements STNodeReference
-
Constructor Summary
ConstructorsConstructorDescriptionSTNameAndCodeTuple(STNode nameNode, STNode dataNode) Creates an instance of aSTNameAndCodeTuplerecord class. -
Method Summary
Modifier and TypeMethodDescriptiondataNode()Returns the value of thedataNoderecord component.final booleanIndicates whether some other object is "equal to" this one.getData()getDesc()intgetName()getPath()final inthashCode()Returns a hash code value for this object.nameNode()Returns the value of thenameNoderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
STNameAndCodeTuple
-
-
Method Details
-
getDesc
-
getName
-
getData
-
getPath
- Specified by:
getPathin interfaceSTNodeReference
-
getLineNumber
public int getLineNumber()- Specified by:
getLineNumberin interfaceSTNodeReference
-
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). -
nameNode
Returns the value of thenameNoderecord component.- Returns:
- the value of the
nameNoderecord component
-
dataNode
Returns the value of thedataNoderecord component.- Returns:
- the value of the
dataNoderecord component
-