public class BuilderArrayPayload extends BuilderInstruction implements ArrayPayload
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.Number> |
arrayElements |
protected int |
elementWidth |
static Opcode |
OPCODE |
opcode| Constructor and Description |
|---|
BuilderArrayPayload(int elementWidth,
java.util.List<java.lang.Number> arrayElements) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Number> |
getArrayElements() |
int |
getCodeUnits()
Gets the size of this instruction.
|
int |
getElementWidth() |
Format |
getFormat() |
getLocation, getOpcodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOpcodepublic static final Opcode OPCODE
protected final int elementWidth
@Nonnull protected final java.util.List<java.lang.Number> arrayElements
public BuilderArrayPayload(int elementWidth,
@Nullable
java.util.List<java.lang.Number> arrayElements)
public int getElementWidth()
getElementWidth in interface ArrayPayload@Nonnull public java.util.List<java.lang.Number> getArrayElements()
getArrayElements in interface ArrayPayloadpublic int getCodeUnits()
InstructiongetCodeUnits in interface InstructiongetCodeUnits in class BuilderInstructionpublic Format getFormat()
getFormat in class BuilderInstruction