Record Class RefCopyProcessor.Context
java.lang.Object
java.lang.Record
overrun.marshal.gen.processor.RefCopyProcessor.Context
- Record Components:
srcSegmentSlot- the slot of the source memory segmentdstArraySlot- the slot of the destination arraycharset- the charset annotation value
- Enclosing class:
RefCopyProcessor
public static record RefCopyProcessor.Context(int srcSegmentSlot, int dstArraySlot, String charset)
extends Record
The context.
- Since:
- 0.1.0
- Author:
- squid233
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharset()Returns the value of thecharsetrecord component.intReturns the value of thedstArraySlotrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thesrcSegmentSlotrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Context
Creates an instance of aContextrecord class.- Parameters:
srcSegmentSlot- the value for thesrcSegmentSlotrecord componentdstArraySlot- the value for thedstArraySlotrecord componentcharset- the value for thecharsetrecord 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. -
srcSegmentSlot
public int srcSegmentSlot()Returns the value of thesrcSegmentSlotrecord component.- Returns:
- the value of the
srcSegmentSlotrecord component
-
dstArraySlot
public int dstArraySlot()Returns the value of thedstArraySlotrecord component.- Returns:
- the value of the
dstArraySlotrecord component
-
charset
-