Package com.aparapi.internal.instruction
Enum InstructionSet.PushSpec
- java.lang.Object
-
- java.lang.Enum<InstructionSet.PushSpec>
-
- com.aparapi.internal.instruction.InstructionSet.PushSpec
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InstructionSet.PushSpec>
- Enclosing class:
- InstructionSet
public static enum InstructionSet.PushSpec extends java.lang.Enum<InstructionSet.PushSpec>
-
-
Field Summary
Fields Modifier and Type Field Description private InstructionSet.TypeSpec[]
types
-
Constructor Summary
Constructors Modifier Constructor Description private
PushSpec(InstructionSet.TypeSpec... _types)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getStackAdjust()
static InstructionSet.PushSpec
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InstructionSet.PushSpec[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final InstructionSet.PushSpec NONE
-
UNKNOWN
public static final InstructionSet.PushSpec UNKNOWN
-
I
public static final InstructionSet.PushSpec I
-
II
public static final InstructionSet.PushSpec II
-
III
public static final InstructionSet.PushSpec III
-
IIII
public static final InstructionSet.PushSpec IIII
-
IIIII
public static final InstructionSet.PushSpec IIIII
-
IIIIII
public static final InstructionSet.PushSpec IIIIII
-
L
public static final InstructionSet.PushSpec L
-
F
public static final InstructionSet.PushSpec F
-
D
public static final InstructionSet.PushSpec D
-
O
public static final InstructionSet.PushSpec O
-
A
public static final InstructionSet.PushSpec A
-
N
public static final InstructionSet.PushSpec N
-
IorForS
public static final InstructionSet.PushSpec IorForS
-
LorD
public static final InstructionSet.PushSpec LorD
-
RA
public static final InstructionSet.PushSpec RA
-
-
Field Detail
-
types
private final InstructionSet.TypeSpec[] types
-
-
Constructor Detail
-
PushSpec
private PushSpec(InstructionSet.TypeSpec... _types)
-
-
Method Detail
-
values
public static InstructionSet.PushSpec[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InstructionSet.PushSpec c : InstructionSet.PushSpec.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstructionSet.PushSpec valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getStackAdjust
public int getStackAdjust()
-
-