Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
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.
Attachments
Attachments
Issue Links
- is depended upon by
-
LANG-529 Add a concurrent package
- Closed