Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void cargarFactura(ArrayList<String>listaRegistro) {
- for (String s:listaRegistro) {
- String[] datos = s.split( "," );
- String tipoConsumidor = datos[0];
- String nombreCliente = datos[1];
- String direccion = datos[2];
- int identificadorCliente = Integer.parseInt(datos[3]);
- double consumo = Double.parseDouble(datos[4]);
- // crear aca la factura y agregarla al ArrayList <Factura>
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement