commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-496) A generic implementation of the Lazy initialization pattern
Date Tue, 07 Jul 2009 07:12:14 GMT

    [ https://issues.apache.org/jira/browse/LANG-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727951#action_12727951
] 

Henri Yandell commented on LANG-496:
------------------------------------

I'm interested in seeing what the code in LANG-511 and LANG-488 would have looked like using
this pattern. 

> A generic implementation of the Lazy initialization pattern
> -----------------------------------------------------------
>
>                 Key: LANG-496
>                 URL: https://issues.apache.org/jira/browse/LANG-496
>             Project: Commons Lang
>          Issue Type: New Feature
>            Reporter: Oliver Heger
>             Fix For: 3.0
>
>         Attachments: LazyInitializer.patch
>
>
> This is a fully functional implementation of the double-check idiom for lazy initialization
of an instance field as discussed in Joshua Bloch's "Effective Java".
> If there is interest, this could be the first element of a set of helper classes related
to concurrent programming.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message