Class NonEmptyFloatList

    • Field Detail

      • typeIndexID

        public static final int typeIndexID
      • type

        public static final int type
      • _FC_head

        private static final java.lang.invoke.CallSite _FC_head
      • _FH_head

        private static final java.lang.invoke.MethodHandle _FH_head
      • _FC_tail

        private static final java.lang.invoke.CallSite _FC_tail
      • _FH_tail

        private static final java.lang.invoke.MethodHandle _FH_tail
    • Constructor Detail

      • NonEmptyFloatList

        protected NonEmptyFloatList()
      • NonEmptyFloatList

        public NonEmptyFloatList​(JCas jcas)
      • NonEmptyFloatList

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

        public NonEmptyFloatList​(JCas jcas,
                                 float v,
                                 FloatList tail)
        Generate a NonEmpty node with the specified head and tail
        Parameters:
        jcas - -
        v - -
        tail - -
      • NonEmptyFloatList

        public NonEmptyFloatList​(JCas jcas,
                                 float v)
        Generate a NonEmpty node with the specified head with the empty node as the tail
        Parameters:
        jcas - -
        v - -
    • Method Detail

      • getTypeIndexID

        public int getTypeIndexID()
        Overrides:
        getTypeIndexID in class TOP
        Returns:
        the type array index
      • getHead

        public float getHead()
      • setHead

        public void setHead​(float v)
      • setTail

        public void setTail​(FloatList v)
      • setTail

        public void setTail​(CommonList v)
        Description copied from interface: CommonList
        sets the tail of this node
        Specified by:
        setTail in interface CommonList
        Parameters:
        v - the tail
      • get_headAsString

        public java.lang.String get_headAsString()
        Description copied from interface: CommonList
        Internal use overridden in nonempty nodes Return the head value of a list as a string suitable for serialization. For FeatureStructure values, return the _id.
        Specified by:
        get_headAsString in interface CommonList
        Returns:
        value suitable for serialization
      • set_headFromString

        public void set_headFromString​(java.lang.String v)
        Description copied from interface: CommonList
        Internal use overridden in nonempty nodes used when deserializing
        Specified by:
        set_headFromString in interface CommonList
        Parameters:
        v - value to set, as a string
      • iterator

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