Iterator iter = objects.entrySet().iterator();
Iterator iter;
  public Obj findObject(org.omg.CORBA.Object stored_object)  {    if (stored_object == null)      return null;    Map.Entry item;    Iterator iter = objects.entrySet().iterator();    Obj ref;    while (iter.hasNext())      {        item = (Map.Entry) iter.next();        ref = (Obj) item.getValue();        if (stored_object.equals(ref.object))          return ref;      }    return null;  }