Class NonEmptyStringList

  • All Implemented Interfaces:
    java.lang.Cloneable, java.lang.Iterable<java.lang.String>, FeatureStructure

    public class NonEmptyStringList
    extends StringList
    • Field Detail

      • typeIndexID

        public static final int typeIndexID
      • type

        public static final int type
    • Constructor Detail

      • NonEmptyStringList

        protected NonEmptyStringList()
      • NonEmptyStringList

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

        public NonEmptyStringList​(JCas jcas)
      • NonEmptyStringList

        public NonEmptyStringList​(JCas jcas,
                                  java.lang.String s,
                                  StringList tail)
        Parameters:
        jcas - the JCas create the new Feature Structure in
        s - the head item
        tail - the tail item
    • Method Detail

      • getTypeIndexID

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

        public java.lang.String getHead()
      • setHead

        public void setHead​(java.lang.String v)
      • iterator

        public java.util.Iterator<java.lang.String> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<java.lang.String>
        Overrides:
        iterator in class StringList