Andrea Giuliano
06/02/2021, 8:35 AMmyMutableSet.removeAll(collection)
myMutableSet.take(x)
now I’d like not to use take since the set can contain millions of items and I’d like not to copy all in a new set..any suggestions?
There is no constraints on the “which” X items to take..random is fineAndrea Giuliano
06/02/2021, 10:08 AMUlrik Rasmussen
06/02/2021, 11:19 AM