byte[] key = getKey(object); if (key != null) objects.remove(key);
cObject ref = getKey(object); if (ref != null) objects.remove(ref.key);
  public void remove(org.omg.CORBA.Object object)  {    byte[] key = getKey(object);    if (key != null)      objects.remove(key);  }