Class NonEmptyIntegerList

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

    public class NonEmptyIntegerList
    extends IntegerList
    implements java.lang.Iterable<java.lang.Integer>
    • Field Detail

      • typeIndexID

        public static final int typeIndexID
      • type

        public static final int type
    • Constructor Detail

      • NonEmptyIntegerList

        protected NonEmptyIntegerList()
      • NonEmptyIntegerList

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

        public NonEmptyIntegerList​(JCas jcas)
      • NonEmptyIntegerList

        public NonEmptyIntegerList​(JCas jcas,
                                   int i,
                                   IntegerList tail)
        Parameters:
        jcas - the jcas to create this Feature Structure in
        i - the head value
        tail - the tail
    • Method Detail

      • getTypeIndexID

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

        public int getHead()
      • setHead

        public void setHead​(int v)
      • iterator

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