[
https://issues.apache.org/jira/browse/UIMA-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15493376#comment-15493376
]
Richard Eckart de Castilho commented on UIMA-1524:
--------------------------------------------------
So far, I see the stream operations working over a CAS or maybe an FSArray. But
the methods to select relative annotations work on individual AnnotationFSes. I
have problems imagining how the functionality of
selectFollowing/Preceding/Relative can be realized as stream operations only.
The same actually for covering/covered. Can you make an example?
> JFSIndexRepository should be enhanced with new generic methods
> --------------------------------------------------------------
>
> Key: UIMA-1524
> URL: https://issues.apache.org/jira/browse/UIMA-1524
> Project: UIMA
> Issue Type: Improvement
> Components: Core Java Framework
> Affects Versions: 2.3
> Reporter: Joern Kottmann
>
> Existing methods should be overloaded with an additional Class argument to
> specify the exact return type. This changes make down casting of returned
> objects unnecessary.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)