]
Katia Aresti updated ISPN-5728:
-------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request:
Implement all the default methods in Java 8's Map interface
-----------------------------------------------------------
Key: ISPN-5728
URL:
https://issues.jboss.org/browse/ISPN-5728
Project: Infinispan
Issue Type: Feature Request
Components: Core
Affects Versions: 8.0.0.Final
Reporter: Dan Berindei
Assignee: Katia Aresti
Java 8 added many new methods to the {{Map}} interface. Some of them were already present
in {{ConcurrentMap}}, but others are new: {{getOrDefault()}}, {{forEach()}},
{{replaceAll()}}, {{computeIfAbsent()}}, {{computeIfPresent()}}, {{compute()}},
{{merge()}}.
We should try to write Infinispan-specific implementations wherever that would improve
correctness and/or performance.