Package com.aparapi.internal.instruction
Enum InstructionSet.TypeSpec
- java.lang.Object
-
- java.lang.Enum<InstructionSet.TypeSpec>
-
- com.aparapi.internal.instruction.InstructionSet.TypeSpec
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InstructionSet.TypeSpec>
- Enclosing class:
- InstructionSet
public static enum InstructionSet.TypeSpec extends java.lang.Enum<InstructionSet.TypeSpec>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
TypeSpec(java.lang.String _shortName, java.lang.String _longName, int _size, int _slots)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLongName()
java.lang.String
getShortName()
int
getSize()
int
getSlots()
static InstructionSet.TypeSpec
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InstructionSet.TypeSpec[]
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.TypeSpec NONE
-
Z
public static final InstructionSet.TypeSpec Z
-
C
public static final InstructionSet.TypeSpec C
-
F
public static final InstructionSet.TypeSpec F
-
D
public static final InstructionSet.TypeSpec D
-
B
public static final InstructionSet.TypeSpec B
-
S
public static final InstructionSet.TypeSpec S
-
I
public static final InstructionSet.TypeSpec I
-
L
public static final InstructionSet.TypeSpec L
-
J
public static final InstructionSet.TypeSpec J
-
A
public static final InstructionSet.TypeSpec A
-
O
public static final InstructionSet.TypeSpec O
-
N
public static final InstructionSet.TypeSpec N
-
IorForS
public static final InstructionSet.TypeSpec IorForS
-
LorD
public static final InstructionSet.TypeSpec LorD
-
RA
public static final InstructionSet.TypeSpec RA
-
UNKNOWN
public static final InstructionSet.TypeSpec UNKNOWN
-
ARGS
public static final InstructionSet.TypeSpec ARGS
-
-
Method Detail
-
values
public static InstructionSet.TypeSpec[] 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.TypeSpec c : InstructionSet.TypeSpec.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.TypeSpec 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
-
getSize
public int getSize()
-
getSlots
public int getSlots()
-
getLongName
public java.lang.String getLongName()
-
getShortName
public java.lang.String getShortName()
-
-