tkalkirill commented on code in PR #3140:
URL: https://github.com/apache/ignite-3/pull/3140#discussion_r1475543172
##########
modules/core/src/main/java/org/apache/ignite/internal/util/CollectionUtils.java:
##########
@@ -592,4 +594,52 @@ public T2 next() {
}
};
}
+
+ /**
+ * Appends the specified element to the end of copy of list.
+ *
+ * @param <T> Type of elements of the list.
+ * @param list List.
+ * @param t Element to append.
+ * @return Immutable list with an appended element.
+ */
+ public static <T> List<T> addWithCopyList(List<? extends T> list, T t) {
Review Comment:
I think they might be useful, I'd prefer to keep them.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]