Enum Class CollectionOpDescriptor
java.lang.Object
java.lang.Enum<CollectionOpDescriptor>
ai.timefold.jpyinterpreter.opcodes.descriptor.CollectionOpDescriptor
- All Implemented Interfaces:
OpcodeDescriptor,Serializable,Comparable<CollectionOpDescriptor>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionImplements del TOS1[TOS].Implements TOS = iter(TOS).Calls list.append(TOS1[-i], TOS).Calls dict.Calls set.add(TOS1[-i], TOS).Implements TOS1[TOS] = TOS2. -
Method Summary
Modifier and TypeMethodDescriptionstatic CollectionOpDescriptorReturns the enum constant of this class with the specified name.static CollectionOpDescriptor[]values()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, valueOfMethods inherited from interface ai.timefold.jpyinterpreter.opcodes.descriptor.OpcodeDescriptor
name
-
Enum Constant Details
-
GET_ITER
Implements TOS = iter(TOS). -
STORE_SUBSCR
Implements TOS1[TOS] = TOS2. -
DELETE_SUBSCR
Implements del TOS1[TOS]. -
CONTAINS_OP
-
UNPACK_SEQUENCE
-
UNPACK_EX
-
BUILD_SLICE
-
BUILD_TUPLE
-
BUILD_LIST
-
BUILD_SET
-
BUILD_MAP
-
BUILD_CONST_KEY_MAP
-
LIST_TO_TUPLE
-
SET_ADD
Calls set.add(TOS1[-i], TOS). Used to implement set comprehensions.The added value is popped off, the container object remains on the stack so that it is available for further iterations of the loop.
-
LIST_APPEND
Calls list.append(TOS1[-i], TOS). Used to implement list comprehensions.The added value is popped off, the container object remains on the stack so that it is available for further iterations of the loop.
-
MAP_ADD
Calls dict.__setitem__(TOS1[-i], TOS1, TOS). Used to implement dict comprehensions.The key/value pair is popped off, the container object remains on the stack so that it is available for further iterations of the loop.
-
LIST_EXTEND
-
SET_UPDATE
-
DICT_UPDATE
-
DICT_MERGE
-
-
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 nameNullPointerException- if the argument is null
-
getVersionMapping
- Specified by:
getVersionMappingin interfaceOpcodeDescriptor
-