Package org.apache.uima.cas.impl
Enum SlotKinds.SlotKind
- java.lang.Object
-
- java.lang.Enum<SlotKinds.SlotKind>
-
- org.apache.uima.cas.impl.SlotKinds.SlotKind
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SlotKinds.SlotKind>
- Enclosing class:
- SlotKinds
public static enum SlotKinds.SlotKind extends java.lang.Enum<SlotKinds.SlotKind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Slot_ArrayLength
Slot_Boolean
boolean feature slot name (not array)Slot_BooleanRef
boolean array slot nameSlot_Byte
byte feature (not array) slot nameSlot_ByteRef
byte array slot nameSlot_Control
Slot_Double_Exponent
Slot_Double_Mantissa_Sign
Slot_DoubleRef
Slot_Float
Slot_Float_Exponent
Slot_Float_Mantissa_Sign
Slot_FsIndexes
Slot_HeapRef
Slot_Int
Slot_Long_High
Slot_Long_Low
Slot_LongRef
Slot_MainHeap
Slot_Short
short feature (not array) slot nameSlot_ShortRef
short array slot nameSlot_StrChars
Slot_StrLength
Slot_StrOffset
Slot_StrRef
Slot_StrSeg
Slot_TypeCode
-
Field Summary
Fields Modifier and Type Field Description boolean
canBeNegative
int
elementSize
boolean
inMainHeap
static int
NBR_SLOT_KIND_ZIP_STREAMS
-
Constructor Summary
Constructors Modifier Constructor Description private
SlotKind(boolean canBeNegative, int elementSize, boolean inMainHeap)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SlotKinds.SlotKind
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SlotKinds.SlotKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Slot_ArrayLength
public static final SlotKinds.SlotKind Slot_ArrayLength
-
Slot_HeapRef
public static final SlotKinds.SlotKind Slot_HeapRef
-
Slot_Int
public static final SlotKinds.SlotKind Slot_Int
-
Slot_Byte
public static final SlotKinds.SlotKind Slot_Byte
byte feature (not array) slot name
-
Slot_Short
public static final SlotKinds.SlotKind Slot_Short
short feature (not array) slot name
-
Slot_TypeCode
public static final SlotKinds.SlotKind Slot_TypeCode
-
Slot_StrOffset
public static final SlotKinds.SlotKind Slot_StrOffset
-
Slot_StrLength
public static final SlotKinds.SlotKind Slot_StrLength
-
Slot_Long_High
public static final SlotKinds.SlotKind Slot_Long_High
-
Slot_Long_Low
public static final SlotKinds.SlotKind Slot_Long_Low
-
Slot_Float_Mantissa_Sign
public static final SlotKinds.SlotKind Slot_Float_Mantissa_Sign
-
Slot_Float_Exponent
public static final SlotKinds.SlotKind Slot_Float_Exponent
-
Slot_Double_Mantissa_Sign
public static final SlotKinds.SlotKind Slot_Double_Mantissa_Sign
-
Slot_Double_Exponent
public static final SlotKinds.SlotKind Slot_Double_Exponent
-
Slot_FsIndexes
public static final SlotKinds.SlotKind Slot_FsIndexes
-
Slot_StrChars
public static final SlotKinds.SlotKind Slot_StrChars
-
Slot_Control
public static final SlotKinds.SlotKind Slot_Control
-
Slot_StrSeg
public static final SlotKinds.SlotKind Slot_StrSeg
-
Slot_StrRef
public static final SlotKinds.SlotKind Slot_StrRef
-
Slot_BooleanRef
public static final SlotKinds.SlotKind Slot_BooleanRef
boolean array slot name
-
Slot_ByteRef
public static final SlotKinds.SlotKind Slot_ByteRef
byte array slot name
-
Slot_ShortRef
public static final SlotKinds.SlotKind Slot_ShortRef
short array slot name
-
Slot_LongRef
public static final SlotKinds.SlotKind Slot_LongRef
-
Slot_DoubleRef
public static final SlotKinds.SlotKind Slot_DoubleRef
-
Slot_Float
public static final SlotKinds.SlotKind Slot_Float
-
Slot_Boolean
public static final SlotKinds.SlotKind Slot_Boolean
boolean feature slot name (not array)
-
Slot_MainHeap
public static final SlotKinds.SlotKind Slot_MainHeap
-
-
Method Detail
-
values
public static SlotKinds.SlotKind[] 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 (SlotKinds.SlotKind c : SlotKinds.SlotKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SlotKinds.SlotKind 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
-
-