public void put(String key,float value){
  if (value == Float.POSITIVE_INFINITY) {
    put(key,"INF");
  }
 else   if (value == Float.NEGATIVE_INFINITY) {
    put(key,"-INF");
  }
 else {
    put(key,Float.toString(value));
  }
}

public void put ( String key , float value ) { if ( value == Float . POSITIVE_INFINITY ) { put ( key , "INF" ) ; } else if ( value == Float . NEGATIVE_INFINITY ) { put ( key , "-INF" ) ; } else { put ( key , Float . toString ( value ) ) ; } }
associates the specified float value with the specified key in this map . if the map previously contained a mapping for this key , the old value is replaced .
