public void trimToSize(){
  if (names != null)   names.trimToSize();
  if (requiredChildren != null) {
    requiredChildren.trimToSize();
    for (    GazEntry nextkey : requiredChildren.values()) {
      nextkey.trimToSize();
    }
  }
}

public void trimToSize ( ) { if ( names != null ) names . trimToSize ( ) ; if ( requiredChildren != null ) { requiredChildren . trimToSize ( ) ; for ( GazEntry nextkey : requiredChildren . values ( ) ) { nextkey . trimToSize ( ) ; } } }
when we are done loading up all the gazetteers , we will trim all the collections down to size to save memory .
