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

uv3 shorten api names for getting 0-length arrays/lists

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0SDK-beta
    • Core Java Framework
    • None

    Description

      There are new APIs to get shared (per CAS) instances of empty lists and arrays of various types.

      These APIs are called getEmpty/xxxx/List|Array where xxxx can be blank or a type name part. (e.g. getEmptyFloatList).

      These APIs are found in the CAS, the JCas, and on the various JCas classes for the type kinds (e.g., FloatList has a getEmptyList())

      Improve things by shortening these APIs uniformly by dropping the "get". This will also align the style with how Java does this in its Collections class for empty instances.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: