Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-740

Add a Memoizer class

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.6
    • lang.concurrent.*
    • None

    Description

      I am currently using a class like the Memoizer class [1] from "Java
      Concurrency in Practice" [2], a great book.

      It would fit perfectly in org.apache.commons.lang3.concurrent.

      [1] http://jcip.net/listings/Memoizer.java
      [2] http://jcip.net/

      There is no licensing issue because the code is in the public domain:

      ---------- Forwarded message ----------
      From: Brian Goetz <brian@briangoetz.com>
      Date: Tue, Aug 9, 2011 at 5:40 PM
      Subject: Re: Apache Commons Lang and Memoizer
      To: Gary Gregory <ggregory@apache.org>, Tim Peierls <tim@peierls.net>
      
      
      No license issues -- the code is in the public domain:
      
         Written by Brian Goetz and Tim Peierls with assistance from members of
         JCP JSR-166 Expert Group and released to the public domain, as explained at
         http://creativecommons.org/licenses/publicdomain
      
      
      Code for the samples can be downloaded from http://www.jcip.net/listings.html.
      
      Cheers,
      -Brian
      
      
      On 8/9/2011 5:38 PM, Gary Gregory wrote:
      >
      > Hi Brian,
      >
      > I would like to include a Memoizer in the next release of Apache
      > Commons Lang [1].
      >
      > Can we use the Memoizer pattern from "Java Concurrency in Practice"? I
      > think I would reuse the code from the class Memoizer and change names,
      > things like that.
      >
      > We are talking about this on the Lang mailing list and are wondering
      > if there are any licensing issues.
      >
      > [1] https://commons.apache.org/lang/
      >
      
      
      
      -- 
      Thank you,
      Gary
      
      http://garygregory.wordpress.com/
      http://garygregory.com/
      http://people.apache.org/~ggregory/
      http://twitter.com/GaryGregory
      

      Attachments

        1. LANG-740.patch
          8 kB
          James Sawle

        Activity

          People

            ggregory Gary D. Gregory
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: