Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-4299

improve generics for UIMA indexes and iterators

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.0SDK
    • 2.8.0SDK
    • Core Java Framework
    • None

    Description

      When the JCas is being used, there are Java classes for UIMA types.
      Each index definition is associated with a top-most type in the type hierarchy.

      Indexes are used to create iterators of various kinds; some of these iterators are defined within classes which implement Iterable.

      Add generic mechanisms to the Indexes and iterators to support Iterables whose elements are JCas types.

      Update the APIs that get indexes over particular types to allow specifying those types by the type class, and use this for generic typing, so casts are not necessary for user code.

      Make the generics work also when JCas is not in use.

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: