commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne (JIRA)" <>
Subject [jira] Created: (LANG-545) Add ability to create a Future for a constant
Date Sat, 24 Oct 2009 13:06:59 GMT
Add ability to create a Future for a constant

                 Key: LANG-545
             Project: Commons Lang
          Issue Type: New Feature
            Reporter: Stephen Colebourne
            Assignee: Stephen Colebourne
            Priority: Minor
             Fix For: 3.0

The concurrent Future interface is a nice way to gain access to an object at some future point
in time. However, sometimes you need an implementation that isn't used for concurrency, but
is used to avoid a null check or for testing.

Add a ConstantFuture class that implements the Future interface and returns the constant value.

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

View raw message