You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by GitBox <gi...@apache.org> on 2022/06/26 22:05:00 UTC

[GitHub] [groovy] eric-milles opened a new pull request, #1733: GROOVY-10473: add stream `getAt(int)` and `getAt(IntRange)` extension methods for quick access

eric-milles opened a new pull request, #1733:
URL: https://github.com/apache/groovy/pull/1733

   `IntStream`, `LongStream`, and `DoubleStream` do not have safe default for `getAt(int)`.  They could have `getAt(IntRange)` added safely.  I don't think `getAt(Range)` or `getAt(EmptyRange)` of `getAt(ObjectRange)` are necessary.
   
   https://issues.apache.org/jira/browse/GROOVY-10473


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@groovy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [groovy] eric-milles commented on pull request #1733: GROOVY-10473: add stream `getAt(int)` and `getAt(IntRange)` extension methods for quick access

Posted by GitBox <gi...@apache.org>.
eric-milles commented on PR #1733:
URL: https://github.com/apache/groovy/pull/1733#issuecomment-1166669486

   https://issues.apache.org/jira/browse/GROOVY-10666 discusses the possibility of supporting multiple-assignment for streams via `getAt(IntRange)`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@groovy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [groovy] daniellansun commented on pull request #1733: GROOVY-10473: add stream `getAt(int)` and `getAt(IntRange)` extension methods for quick access

Posted by GitBox <gi...@apache.org>.
daniellansun commented on PR #1733:
URL: https://github.com/apache/groovy/pull/1733#issuecomment-1166698028

   +1
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@groovy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [groovy] eric-milles merged pull request #1733: GROOVY-10473: add stream `getAt(int)` and `getAt(IntRange)` extension methods for quick access

Posted by GitBox <gi...@apache.org>.
eric-milles merged PR #1733:
URL: https://github.com/apache/groovy/pull/1733


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@groovy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org