InheritableThreadLocal(Supplier<T>)

Brian Goetz brian.goetz at oracle.com
Fri Jan 4 10:32:59 PST 2013


The API for that has migrated from constructor-based to factory-based:

   ThreadLocal.withInitialValue(Supplier<T>)

or some such.

Should do same for ITL -- will make a note.

On 1/4/2013 1:17 PM, Michael Nascimento wrote:
> Hi guys,
>
> Busy afternoon. As I change my source code here to use as much of
> lambda as possible, I realized there is a ThreadLocal(Supplier<T>)
> constructor, but not an InheritableThreadLocal(Supplier<T>) one. Can
> it be added?
>
> Regards,
> Michael
>


More information about the lambda-dev mailing list