ibessonov commented on a change in pull request #336: URL: https://github.com/apache/ignite-3/pull/336#discussion_r710077433
########## File path: modules/core/src/main/java/org/apache/ignite/internal/util/CollectionUtils.java ########## @@ -142,6 +143,41 @@ else if (ts == null || ts.length == 0) } } + /** + * Create a view for an iterable with conversion of elements. + * + * @param iterable Iterable. + * @param mapper Conversion function. + * @param <T1> Type of the elements. + * @param <T2> Converted type of the elements. + * @return View of iterable. + */ + public static <T1, T2> Iterable<T2> view( Review comment: Why do you need this if Java has streams? -- 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-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org