blob: 53bdb14d7442b67302b7b3c0b714c2194f81f14f [file] [log] [blame]
package test.thread;
import java.util.Map;
public class BaseSequentialSample {
protected void addId(String method, long id) {
ppp(method + " ID:" + id);
getMap().put(id, id);
}
Map getMap() {
Map result = Helper.getMap(getClass().getName());
ppp("RETURNING MAP " + result + " THIS:" + this);
return result;
}
protected void ppp(String s) {
if (false) {
System.out.println("[" + getClass().getName() + " "
+ Thread.currentThread().getId() + " "
+ "] " + s);
}
}
}