谁知道Richard Flavell lab @Yale Immunobiology 怎么样?# Biology - 生物学
P*l
1 楼
死在这道题上:写一个Singleton.
教训:
不熟/不确定就提也不要提,忍着。
如果你对如下代码有兴趣,看看你能不能该对?
see also: http://www.mitbbs.com/article_t/JobHunting/31595909.html
public final static class SpecialSingleton {
private final Integer i;
private static ConcurrentHashMap
instanceMap = new ConcurrentHashMap(); //use
the concurrent to improve performance.
private SpecialSingleton(Integer i) //it is correct to make the
constructor private.
{
t
教训:
不熟/不确定就提也不要提,忍着。
如果你对如下代码有兴趣,看看你能不能该对?
see also: http://www.mitbbs.com/article_t/JobHunting/31595909.html
public final static class SpecialSingleton {
private final Integer i;
private static ConcurrentHashMap
instanceMap = new ConcurrentHashMap
the concurrent to improve performance.
private SpecialSingleton(Integer i) //it is correct to make the
constructor private.
{
t