belliottsmith commented on code in PR #113:
URL: https://github.com/apache/cassandra-accord/pull/113#discussion_r1746076896
##########
accord-core/src/main/java/accord/utils/btree/BTreeRemoval.java:
##########
@@ -68,6 +73,51 @@ public static <V> Object[] remove(final Object[] btree,
final Comparator<? super
return result;
}
+ /**
+ * Remove |elem| from |btree|. If it's not present then return |btree|
itself.
+ */
+ public static <F, V> Object[] remove(final Object[] btree, final
AsymmetricComparator<? super F, ? super V> comparator, final F elem)
Review Comment:
I don't like that we duplicate it at all, really. But not sure when to find
the time to create a utilities subproject we can share this through
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]