1 package api.request.response;
5 public interface Compute {
6 public void computeData(Request request, Response response);
8 /** Right now useless, but may be handy in future */
9 public final class Request {
10 /** allow access just from friend code */
15 /** Allows clients to provide the computed strings */
16 public final class Response {
17 private final List<String> result;
18 /** Allow access only to friend code */
19 Response(List<String> result) {
23 public void add(String s) {
27 public void addAll(List<String> all) {