Mohammad Rezaei
Mohammad Rezaei
hmmm... Not a fan of the proposal. There are at least two other options: 1. Just override the JDK method. This is the maximal compatibility option. 2. Deprecate ec.Predicate. Leave...
I tried option 2. Documenting here for posterity. 1. Use IDE->rename ec.Predicate.accept to someUniqueString334455 2. replace in files, `import ec.Predicate` with `import jdk.Predicate` 3. replace in files, `someUniqueString334455` with `test`....
While the above is true, I don't believe we support map modifications within `forEachKeyValue`. `remove` is "safe" by accident (and not safe in the case of the zero key). `put`...
The above code fits well within a `removeIf` implementation. We have two choices here: 1) Document `forEachKeyValue` as not allowing modifications. This allows us to change the map implementation internals...