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

Set Index implicit use of type in comparator - document and add test case

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • None
    • 2.10.1SDK, 3.0.0SDK-beta
    • None
    • None

    Description

      UIMA Set indexes are implemented such that the type is an implicit part of the key set used for determining equality. In other words, two Feature Structures of different types, but with the same key values for a Set index comparator, will not compare equal; both will be added to the set. Document this, and add a test case.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: