Class ListUtils

java.lang.Object
org.apache.uima.cas.impl.ListUtils

public class ListUtils extends Object
Utilities for dealing with CAS List types. The many places operations-to-set-values are done to update feature values, which use the notIndexed form, because list elements cannot be part of an index key. Creation methods don't journal, these are guaranteed to be above the line.
  • Field Details

    • EMPTY_LIST_STRING

      private static final List<String> EMPTY_LIST_STRING
    • errorCount

      private static final AtomicInteger errorCount
    • updateIntActions

      private final ListUtils.UpdateIntActions updateIntActions
    • updateFloatActions

      private final ListUtils.UpdateFloatActions updateFloatActions
    • updateFsActions

      private final ListUtils.UpdateFsActions updateFsActions
    • updateStringActions

      private final ListUtils.UpdateStringActions updateStringActions
    • cas

      final CASImpl cas
    • intListType

      private final int intListType
    • floatListType

      private final int floatListType
    • stringListType

      private final int stringListType
    • fsListType

      private final int fsListType
    • neIntListType

      public final int neIntListType
    • neFloatListType

      public final int neFloatListType
    • neStringListType

      public final int neStringListType
    • neFsListType

      public final int neFsListType
    • eIntListType

      private final int eIntListType
    • eFloatListType

      private final int eFloatListType
    • eStringListType

      private final int eStringListType
    • eFsListType

      private final int eFsListType
    • intHeadFeat

      private final int intHeadFeat
    • intTailFeat

      private final int intTailFeat
    • floatHeadFeat

      private final int floatHeadFeat
    • floatTailFeat

      private final int floatTailFeat
    • stringHeadFeat

      private int stringHeadFeat
    • stringTailFeat

      private int stringTailFeat
    • fsHeadFeat

      final int fsHeadFeat
    • fsTailFeat

      private final int fsTailFeat
    • logger

      private final Logger logger
    • eh

      private ErrorHandler eh
    • foundCycle

      private boolean foundCycle
  • Constructor Details

    • ListUtils

      public ListUtils(CASImpl aCASImpl, Logger aLogger, ErrorHandler aErrorHandler)
      Creates a new ListUtils object.
      Parameters:
      aCASImpl - the CAS that this ListUtils will operate on
      aLogger - optional logger, to receive warning messages
      aErrorHandler - optional SAX ErrorHandler, to receive warning messages
  • Method Details