KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is there an interface from the JDK that looks something like this: public interface Callback<T> { public void process(T t); } The requirement is to implement a callback that runs code, but doesn't return anything. I could write my own (by simply using the example code here), but I'd like to use an existing wheel if one exists, rather that reinventing one.
Tags (comma-separated)
Save Edits
Cancel