Class NonEmptyFloatList

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

public class NonEmptyFloatList extends FloatList
  • Field Details

    • typeIndexID

      public static final int typeIndexID
    • type

      public static final int type
  • Constructor Details

    • NonEmptyFloatList

      protected NonEmptyFloatList()
    • NonEmptyFloatList

      public NonEmptyFloatList(int addr, TOP_Type type)
    • NonEmptyFloatList

      public NonEmptyFloatList(JCas jcas)
    • NonEmptyFloatList

      public NonEmptyFloatList(JCas jcas, float item, FloatList 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 FloatList
      Returns:
      the type array index
    • getHead

      public float getHead()
    • setHead

      public void setHead(float v)
    • getTail

      public FloatList getTail()
    • setTail

      public void setTail(FloatList v)
    • iterator

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