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
-
Method Summary
Modifier and TypeMethodDescriptioncharset()
Returns the value of thecharset
record component.int
Returns the value of thedstArraySlot
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.int
Returns the value of thesrcSegmentSlot
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Context
Creates an instance of aContext
record class.- Parameters:
srcSegmentSlot
- the value for thesrcSegmentSlot
record componentdstArraySlot
- the value for thedstArraySlot
record componentcharset
- the value for thecharset
record 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 thecompare
method from their corresponding wrapper classes. -
srcSegmentSlot
public int srcSegmentSlot()Returns the value of thesrcSegmentSlot
record component.- Returns:
- the value of the
srcSegmentSlot
record component
-
dstArraySlot
public int dstArraySlot()Returns the value of thedstArraySlot
record component.- Returns:
- the value of the
dstArraySlot
record component
-
charset
-