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] [Created] (OAK-8283) Make LazyValue implement Supplier
Date Fri, 26 Apr 2019 12:44:00 GMT
Alex Deparvu created OAK-8283:
---------------------------------

             Summary: 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


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