]
Vladimir Blagojevic updated ISPN-5728:
--------------------------------------
Fix Version/s: 9.0.0.Alpha4
(was: 9.0.0.Alpha3)
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
Fix For: 9.0.0.Alpha4
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.