2015-09-07 11:44:36 -06:00
|
|
|
|
// interfaces/interfaceprocessor/Apply.java
|
2015-06-15 17:47:35 -07:00
|
|
|
|
// <20>2015 MindView LLC: see Copyright.txt
|
|
|
|
|
package interfaces.interfaceprocessor;
|
|
|
|
|
import static com.mindviewinc.util.Print.*;
|
|
|
|
|
|
|
|
|
|
public class Apply {
|
|
|
|
|
public static void process(Processor p, Object s) {
|
|
|
|
|
print("Using Processor " + p.name());
|
|
|
|
|
print(p.process(s));
|
|
|
|
|
}
|
2015-09-07 11:44:36 -06:00
|
|
|
|
}
|