You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2019/04/26 13:57:00 UTC
[jira] [Commented] (OAK-8283) Make LazyValue implement Supplier
[ https://issues.apache.org/jira/browse/OAK-8283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826975#comment-16826975 ]
angela commented on OAK-8283:
-----------------------------
[~stillalex], sounds good to me.
> 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
> Priority: Trivial
>
> 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)