1package test.thread;
2
3import java.util.Map;
4
5public class BaseSequentialSample {
6
7  protected void addId(String method, long id) {
8    ppp(method + " ID:" + id);
9    getMap().put(id, id);
10  }
11
12  Map getMap() {
13    Map result = Helper.getMap(getClass().getName());
14    ppp("RETURNING MAP " + result + " THIS:" + this);
15
16    return result;
17  }
18
19  protected void ppp(String s) {
20    if (false) {
21      System.out.println("[" + getClass().getName() + " "
22          + Thread.currentThread().getId() + " "
23          + "] " + s);
24    }
25  }
26}
27