Should I declare them
Callable<Void>
andFuture<Void>
?
Yes.
Void
is similar to the wrapper classes Integer
, Long
etc. for the primitive types int
, long
etc. You could say it's a wrapper class for void
, even though void
is not really a type.