You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (Jira)" <de...@uima.apache.org> on 2022/03/24 14:14:00 UTC

[jira] [Created] (UIMA-6428) cas.select(TOP.class).count() has unexpected result

Richard Eckart de Castilho created UIMA-6428:
------------------------------------------------

             Summary: cas.select(TOP.class).count() has unexpected result
                 Key: UIMA-6428
                 URL: https://issues.apache.org/jira/browse/UIMA-6428
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework
            Reporter: Richard Eckart de Castilho


Calling cas.select(TOP.class).count() returns a very large long number - probably Long.MAX_VALUE. It is a bit unexpected... To get an accurate number, one has to call cas.select(TOP.class).asList().size().



--
This message was sent by Atlassian Jira
(v8.20.1#820001)