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

Katia Aresti (Jira) issues at jboss.org
Mon Oct 21 03:43:00 EDT 2019


    [ https://issues.jboss.org/browse/ISPN-5728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13801825#comment-13801825 ] 

Katia Aresti commented on ISPN-5728:
------------------------------------

I don't know if we are doing something with replaceAll ... 

> 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
>            Priority: Major
>
> 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
(v7.13.8#713008)


More information about the infinispan-issues mailing list