A no-arg sibling of java.util.function.Block ?
Dmitry Bessonov
dmitry.bessonov at oracle.com
Tue Dec 11 13:24:54 PST 2012
On 12.12.2012 1:09, Sam Pullara wrote:
> Runnable should work for that, no?
Technically - yes.
But (... after reading spec for Runnable) - would that be a good use of
Runnable interface from ideological point of view?
-Dmitry
>
> Sam
>
> On Dec 11, 2012, at 1:00 PM, Dmitry Bessonov <dmitry.bessonov at oracle.com> wrote:
>
>> Hello,
>>
>> I cannot find a standard interface that will allow me to basically wrap
>> a delayed operation that requires no input objects.
>>
>> In other words is there a j.u.f.Block but without necessity to supply
>> input object?
>>
>> (Sorry if such standard interface exists already)
>>
>> -Dmitry
>>
>
More information about the lambda-dev
mailing list