private void putIntoCache(String diphoneName,Diphone diphone){
  if (diphoneMap == null) {
    return;
  }
  if (useSoftCache) {
    diphoneMap.put(diphoneName,new WeakReference(diphone));
  }
 else {
    diphoneMap.put(diphoneName,diphone);
  }
}

private void putIntoCache ( String diphoneName , Diphone diphone ) { if ( diphoneMap == null ) { return ; } if ( useSoftCache ) { diphoneMap . put ( diphoneName , new WeakReference ( diphone ) ) ; } else { diphoneMap . put ( diphoneName , diphone ) ; } }
puts the diphone in the cache .
