synchronized (signal) { signal.notify(); }
  public void put(Object key, Object value) {    Pair pair = findPair(key);    if (pair == null) {      pair = new Pair();      pair.key = key;      pair.value = value;      list.add(new SoftReference(pair));    }    else {      pair.value = value;    }  }