Class TOP

All Implemented Interfaces:
Cloneable, FeatureStructure, FeatureStructureImpl
Direct Known Subclasses:
AnnotationBase, BooleanArray, ByteArray, DoubleArray, FloatArray, FloatList, FSArray, FSArrayList, FSHashSet, FSList, Int2FS, IntegerArray, IntegerArrayList, IntegerList, LongArray, ShortArray, Sofa, StringArray, StringList

public class TOP extends FeatureStructureImplC
The JCas Class model corresponding to the Cas TOP type. This type is the super type of all JCas feature structures.
  • Field Details

    • _TypeName

      public static final String _TypeName
      See Also:
    • typeIndexID

      public static final int typeIndexID
      Each cover class when loaded sets an index. Used in the JCas typeArray to go from the cover class or class instance to the corresponding instance of the _Type class
    • type

      public static final int type
    • _singleton

      public static final TOP _singleton
      Internal use - used as removed marker in maps
  • Constructor Details

    • TOP

      public TOP()
    • TOP

      public TOP(TypeImpl t, CASImpl c)
      used by generator Make a new TOP
      Parameters:
      c - -
      t - -
    • TOP

      public TOP(JCas jcas)
      This version is used by user code new XXX(jcas)
      Parameters:
      jcas - -
  • Method Details

    • getTypeIndexID

      public int getTypeIndexID()
      Overrides:
      getTypeIndexID in class FeatureStructureImplC
      Returns:
      the type array index
    • _createSearchKey

      public static TOP _createSearchKey(int id)
    • _createJCasHashMapReserve

      public static TOP _createJCasHashMapReserve(int id)
      for internal use only, creates a reserved marker
      Parameters:
      id - -
      Returns:
      -