[infinispan-issues] [JBoss JIRA] (ISPN-5728) Implement all the default methods in Java 8's Map interface

Dan Berindei (JIRA) issues at jboss.org
Fri Sep 4 04:44:00 EDT 2015


Dan Berindei created ISPN-5728:
----------------------------------

             Summary: 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: 8.1.0.Alpha1


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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list