I am trying to simulate a lambda in C#, and I need to reset a list element to the same map, but with values removed according to a list of keys. This is just using a simple list of maps.
For example:
myList.set(i, myList.get(i).remove(
//not sure what to add here... need to remove a List<String>
));
Do you mean the following? You don’t need to put the collection back as its mutable.