Class NonEmptyFSList

All Implemented Interfaces:
Cloneable, Iterable<TOP>, FeatureStructure

public class NonEmptyFSList extends FSList
  • Field Details

    • typeIndexID

      public static final int typeIndexID
    • type

      public static final int type
  • Constructor Details

    • NonEmptyFSList

      protected NonEmptyFSList()
    • NonEmptyFSList

      public NonEmptyFSList(int addr, TOP_Type type)
    • NonEmptyFSList

      public NonEmptyFSList(JCas jcas)
    • NonEmptyFSList

      public NonEmptyFSList(JCas jcas, TOP item, FSList tail)
      Parameters:
      jcas - the JCas create the new Feature Structure in
      item - the head item
      tail - the tail item
  • Method Details

    • getTypeIndexID

      public int getTypeIndexID()
      Description copied from class: TOP
      used to obtain reference to the TOP_Type instance
      Overrides:
      getTypeIndexID in class FSList
      Returns:
      the type array index
    • getHead

      public TOP getHead()
    • setHead

      public void setHead(TOP v)
    • getTail

      public FSList getTail()
    • setTail

      public void setTail(FSList v)
    • iterator

      public Iterator<TOP> iterator()
      Specified by:
      iterator in interface Iterable<TOP>
      Overrides:
      iterator in class FSList