Ver Mensaje Individual
  #4 (permalink)  
Antiguo 23/05/2012, 12:21
alexg88
 
Fecha de Ingreso: abril-2011
Mensajes: 1.342
Antigüedad: 13 años
Puntos: 344
Respuesta: Consulta con ArrayList

Pues es muy sencillo, sólo tienes que ir recorriendo el arraylist.

Código Java:
Ver original
  1. ArrayList<String> amortizacionList = cronograma.getAmortizacionList();
  2.  
  3. if (amortizacionList!= null){
  4.  for(int i=0;i<amortizacionList.size();i++)
  5.  {
  6.   String amortizacion = amortizacionList.get(i);
  7.   if (amortizacion != null)
  8.   {
  9.    amortizacionList.set(i,Funciones.formatearMonto(Double.parseDouble(amortizacion)));
  10.   }
  11.  }
  12. }