Callable (Java SE 26 & JDK 26)
Interface Callable<V>
- Type Parameters:
V- the result type of methodcall
- All Known Subinterfaces:
DocumentationTool.DocumentationTask, JavaCompiler.CompilationTask
- All Known Implementing Classes:
JavacTask
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and Type
Method
Description
call()Computes a result, or throws an exception if unable to do so.
-
Method Details
-
call
-