public synchronized void remove(Object obj){
  if (alloced.remove(obj) || freed.remove(obj))   numCreated--;
  disposeResource(obj);
}

public synchronized void remove ( Object obj ) { if ( alloced . remove ( obj ) || freed . remove ( obj ) ) numCreated -- ; disposeResource ( obj ) ; }
remove a resource all together from the pool and dispose of it
