T - the return value typepublic interface Invokable<T>
Runnable except that it returns a value. Used to represent any operation which can return a
value. This is often used in situations where the code is to be executed in another threads.| Modifier and Type | Method and Description |
|---|---|
T |
invoke()
Called to produce a value.
|
5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.