2015-04-20 15:36:01 -07:00
|
|
|
|
//: interfaces/interfaceprocessor/Apply.java
|
2015-05-29 14:18:51 -07:00
|
|
|
|
// <20>2015 MindView LLC: see Copyright.txt
|
2015-04-20 15:36:01 -07:00
|
|
|
|
package interfaces.interfaceprocessor;
|
|
|
|
|
import static net.mindview.util.Print.*;
|
|
|
|
|
|
|
|
|
|
public class Apply {
|
|
|
|
|
public static void process(Processor p, Object s) {
|
|
|
|
|
print("Using Processor " + p.name());
|
|
|
|
|
print(p.process(s));
|
|
|
|
|
}
|
|
|
|
|
} ///:~
|