jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Deparvu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OAK-8283) Make LazyValue implement Supplier
Date Mon, 06 May 2019 08:27:00 GMT

     [ https://issues.apache.org/jira/browse/OAK-8283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Deparvu resolved OAK-8283.
-------------------------------
       Resolution: Fixed
         Assignee: Alex Deparvu
    Fix Version/s: 1.12.1

http://svn.apache.org/viewvc?rev=1858758&view=rev

> Make LazyValue implement Supplier
> ---------------------------------
>
>                 Key: OAK-8283
>                 URL: https://issues.apache.org/jira/browse/OAK-8283
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: commons
>            Reporter: Alex Deparvu
>            Assignee: Alex Deparvu
>            Priority: Trivial
>             Fix For: 1.12.1
>
>
> Proposal is to have {{LazyValue<T>}} implement {{java.util.function.Supplier<T>}}.
> This can be seen as the missing jdk memoizing Supplier (produces a value once and reuses
it), very similar to {{com.google.common.base.Suppliers.memoize}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message