Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
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.