Package org.apache.uima.cas.impl
Enum BinaryCasSerDes4.SlotKind
- All Implemented Interfaces:
Serializable
,Comparable<BinaryCasSerDes4.SlotKind>
- Enclosing class:
BinaryCasSerDes4
Define all the slot kinds.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal boolean
final int
final int
final boolean
final boolean
static final int
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
SlotKind
(boolean isDiffEncode, boolean canBeNegative, int elementSize, boolean inMainHeap) -
Method Summary
Modifier and TypeMethodDescriptionstatic BinaryCasSerDes4.SlotKind
Returns the enum constant of this type with the specified name.static BinaryCasSerDes4.SlotKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Slot_ArrayLength
-
Slot_HeapRef
-
Slot_Int
-
Slot_Byte
-
Slot_Short
-
Slot_TypeCode
-
Slot_StrOffset
-
Slot_StrLength
-
Slot_Long_High
-
Slot_Long_Low
-
Slot_Float_Mantissa_Sign
-
Slot_Float_Exponent
-
Slot_Double_Mantissa_Sign
-
Slot_Double_Exponent
-
Slot_FsIndexes
-
Slot_StrChars
-
Slot_Control
-
Slot_StrSeg
-
Slot_StrRef
-
Slot_BooleanRef
-
Slot_ByteRef
-
Slot_ShortRef
-
Slot_LongRef
-
Slot_DoubleRef
-
Slot_Float
-
Slot_Boolean
-
Slot_MainHeap
-
-
Field Details
-
i
public final int i -
isDiffEncode
public final boolean isDiffEncode -
canBeNegative
public final boolean canBeNegative -
inMainHeap
public final boolean inMainHeap -
elementSize
public final int elementSize -
NBR_SLOT_KIND_ZIP_STREAMS
public static final int NBR_SLOT_KIND_ZIP_STREAMS
-
-
Constructor Details
-
SlotKind
private SlotKind(boolean isDiffEncode, boolean canBeNegative, int elementSize, boolean inMainHeap)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-