KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Standard Runnable interface has only non-parametrized run() method. There is also Callable<V> interface with call() method returning result of generic type. I need to pass generic parameter, something like this: interface MyRunnable<E> { public abstract void run(E reference); } Is there any standard interface for this purpose or I must declare that basic one by myself?
Tags (comma-separated)
Save Edits
Cancel