Possible Duplicate:
What's the nearest substitute for a function pointer in Java?
How would you run a method that was passed through parameters?
Example:
public static void runThing(Void method) {
method();
}
Possible Duplicate:
What's the nearest substitute for a function pointer in Java?
How would you run a method that was passed through parameters?
Example:
public static void runThing(Void method) {
method();
}