You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2021/10/19 11:57:24 UTC

[GitHub] [ignite-3] ibessonov commented on a change in pull request #402: IGNITE-15402 Drop partition & table folder deletion.

ibessonov commented on a change in pull request #402:
URL: https://github.com/apache/ignite-3/pull/402#discussion_r731785860



##########
File path: modules/core/src/main/java/org/apache/ignite/internal/util/CollectionUtils.java
##########
@@ -193,6 +198,45 @@ else if (mapper == null)
         }
     }
 
+    /**
+     * Converts iterator to stream.
+     *
+     * @param iterator Iterator.
+     * @param <T> Type of elements in iterator.
+     * @return Stream.
+     */
+    public static <T> Stream<T> iteratorToStream(Iterator<T> iterator) {

Review comment:
       ok




-- 
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@ignite.apache.org

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