Ver Mensaje Individual
  #4 (permalink)  
Antiguo 06/01/2015, 14:34
moginn
(Desactivado)
 
Fecha de Ingreso: enero-2013
Mensajes: 289
Antigüedad: 11 años, 3 meses
Puntos: 10
Respuesta: Referirse a un MAP

ejecutas 1 vez esta línea al principio del bucle
Map.Entry e = (Map.Entry)it.next();

y luego obtienes los valores tantas veces como te haga falta
System.out.println(e.getKey() + " " + e.getValue());
System.out.println(e.getKey() + " " + e.getValue());
System.out.println(e.getKey() + " " + e.getValue());