Record Class RelationInstructionPatch
java.lang.Object
java.lang.Record
org.impulsegraph.vm.RelationInstructionPatch
- Record Components:
pc- Program counter offset of instruction to patchlogicalRelationName- Logical relation catalog namesrcReg- Source register IDdstReg- Destination register ID
-
Constructor Summary
ConstructorsConstructorDescriptionRelationInstructionPatch(long pc, String logicalRelationName, short srcReg, short dstReg) Creates an instance of aRelationInstructionPatchrecord class. -
Method Summary
Modifier and TypeMethodDescriptionshortdstReg()Returns the value of thedstRegrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelogicalRelationNamerecord component.longpc()Returns the value of thepcrecord component.shortsrcReg()Returns the value of thesrcRegrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RelationInstructionPatch
Creates an instance of aRelationInstructionPatchrecord class.- Parameters:
pc- the value for thepcrecord componentlogicalRelationName- the value for thelogicalRelationNamerecord componentsrcReg- the value for thesrcRegrecord componentdstReg- the value for thedstRegrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
pc
-
logicalRelationName
Returns the value of thelogicalRelationNamerecord component.- Returns:
- the value of the
logicalRelationNamerecord component
-
srcReg
-
dstReg
-