Class FSList

    • Field Detail

      • typeIndexID

        public static final int typeIndexID
      • type

        public static final int type
    • Constructor Detail

      • FSList

        protected FSList()
      • FSList

        public FSList​(int addr,
                      TOP_Type type)
      • FSList

        public FSList​(JCas jcas)
    • Method Detail

      • getTypeIndexID

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

        public TOP getNthElement​(int i)
      • iterator

        public java.util.Iterator<TOP> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<TOP>
      • push

        public NonEmptyFSList push​(TOP item)
        pushes item onto front of this list
        Parameters:
        item - the item to push onto the list
        Returns:
        the new list, with this item as the head value of the first element