}
  private Pair findPair(Object key) {    for (Iterator itr = list.iterator(); itr.hasNext(); ) {      SoftReference ref = (SoftReference) itr.next();      Pair pair = (Pair) ref.get();      if (pair == null)         itr.remove();      else        if (pair.key.equals(key))          return pair;    }        return null;  }