Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void borraRegistro(String clave) throws IOException {
- if (!clave.equals("") && clave !=null){
- int auxDIRE = this.getIndice().buscarClave(clave).getDire();
- this.getIndice().eliminarClave(clave);
- /*this.getIndice().eliminarClave(this.getIndice().buscarClave(this.leeRegistro(nRegistro).dameNombre().trim()).getClave());*/
- Registro registro = this.leeRegistro(this.dameNumeroRegistros());
- this.escribeRegistro(registro.dameNombre(), registro.dameEdad(), registro.dameTelefono(),auxDIRE);
- miTabla.setLength(miTabla.length() - 52);
- }
- else {
- System.out.println("\nError inesperado: No se permite blanco");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement