public void compactify(){
  m_Instances.trimToSize();
}

public void compactify ( ) { m_Instances . trimToSize ( ) ; }
compactifies the set of instances . decreases the capacity of the set so that it matches the number of instances in the set .
