Richard Eckart de Castilho commented on UIMA-5115:

If get() would return an Optional, then the way to get the actual value would 
be get().get(). I'm not a fan of Optional either.

I'm quite fine with get(), single() and singleOrNull() - but since Optional is 
one of the hip things today, I wanted to make at least sure that we know why we 
don't do it.

> uv3 select() api for iterators and streams over CAS contents
> ------------------------------------------------------------
>                 Key: UIMA-5115
>                 URL: https://issues.apache.org/jira/browse/UIMA-5115
>             Project: UIMA
>          Issue Type: New Feature
>          Components: Core Java Framework
>            Reporter: Marshall Schor
>            Priority: Minor
>             Fix For: 3.0.0SDKexp
> Design and implement a select() API based on uimaFIT's select, integrated 
> well with Java 8 concepts.  Initial discussions in UIMA-1524.  Wiki with 
> diagram: https://cwiki.apache.org/confluence/display/UIMA/UV3+Iterator+support

This message was sent by Atlassian JIRA

Reply via email to