import java.util.Hashtable;
import java.util.Enumeration;
public class HashTableMain {
 public static void main(String [] args) {
   Hashtable hash = new Hashtable();
   //agregar elementos
   hash.put("Juan", new Double(12.9));
   hash.put("Pedro", new Double(14.59));
   hash.put("Paco", new Double(13.1));
   hash.put("Luis", new Double(15.1));
   hash.put("Gus", new Double(5.09));
   //recorrer hash
   Enumeration llaves =hash.keys();
   while ( llaves.hasMoreElements()) {
     String llave = (String)llaves.nextElement();
     Object o = hash.get(llave);
     Double valor = (Double) o;
     System.out.println(llave + "=>"+valor.doubleValue());
   }
 }


}