[
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)