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

William Burns (JIRA) issues at jboss.org
Wed Nov 1 10:14:00 EDT 2017


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

William Burns commented on ISPN-5728:
-------------------------------------

Yeah _containsValue_ is supported now, so that should definitely be removed :)

> 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.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list