Enum Constant Summary
Enum Constants
Push the i-th item to the top of the stack.
Duplicates the reference on top of the stack.
Duplicates the two references on top of the stack, leaving them in the same order.
Removes the top-of-stack (TOS) item.
Lifts second, third and fourth stack items one position up, moves top down to position four.
Lifts second and third stack item one position up, moves top down to position three.
Swaps the two top-most stack items.
Swap TOS with the item at position i.
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Methods inherited from interface ai.timefold.jpyinterpreter.opcodes.descriptor.OpcodeDescriptor
name
Enum Constant Details
POP_TOP
Removes the top-of-stack (TOS) item.
ROT_TWO
Swaps the two top-most stack items.
ROT_THREE
Lifts second and third stack item one position up, moves top down to position three.
ROT_FOUR
Lifts second, third and fourth stack items one position up, moves top down to position four.
COPY
Push the i-th item to the top of the stack. The item is not removed from its original location.
Uses 1-based indexing (TOS is 1, TOS1 is 2, ...) instead of 0-based indexing.
SWAP
Swap TOS with the item at position i. Uses 1-based indexing (TOS is 1, TOS1 is 2, ...) instead of 0-based indexing.
DUP_TOP
Duplicates the reference on top of the stack.
DUP_TOP_TWO
Duplicates the two references on top of the stack, leaving them in the same order.
Method Details
values
Returns an array containing the constants of this enum class, in
the order they are declared.
Returns:
an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum class has no constant with the specified name
NullPointerException - if the argument is null