package experimento2;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
public class Discotienda {
CD cd = new CD();
{
int x;
System.
out.
println("¿Cuántos empleados tiene?"); x
= Integer.
parseInt(lector.
readLine()); for(int i=0;i<x;i++)
{
System.
out.
println("Escrita el nombre del empleado"); List<String>nombres=new ArrayList<String>();
nombres.add(j);
}
}
{
int x;
System.
out.
println("¿Cuántos teléfonos va a agregar?"); x
= Integer.
parseInt(lector.
readLine()); for(int i=0;i<x;i++)
{
System.
out.
println("Escriba el número"); int j
= Integer.
parseInt(lector.
readLine()); List<Integer>numeros=new ArrayList<Integer>();
numeros.add(j);
}
}
}
cGFja2FnZSBleHBlcmltZW50bzI7CgoKaW1wb3J0IGphdmEuaW8uQnVmZmVyZWRSZWFkZXI7CmltcG9ydCBqYXZhLmlvLklucHV0U3RyZWFtUmVhZGVyOwppbXBvcnQgamF2YS51dGlsLkFycmF5TGlzdDsKaW1wb3J0IGphdmEudXRpbC5MaXN0OwoKcHVibGljIGNsYXNzIERpc2NvdGllbmRhIHsKICAgIAogICAgU3RyaW5nIG5vbWJyZTsKCVN0cmluZyBkaXJlY2Npb247CgogICAgICAgIAoJQ0QgY2QgPSBuZXcgQ0QoKTsKICAgICAgICAKICAgICAgICBwdWJsaWMgdm9pZCBlbXBsZWFkbygpIHRocm93cyBFeGNlcHRpb24KICAgICAgICB7CiAgICAgICAgaW50IHg7IAogICAgICAgIEJ1ZmZlcmVkUmVhZGVyIGxlY3Rvcj1uZXcgQnVmZmVyZWRSZWFkZXIobmV3IElucHV0U3RyZWFtUmVhZGVyKFN5c3RlbS5pbikpOwogICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbigiwr9DdcOhbnRvcyBlbXBsZWFkb3MgdGllbmU/Iik7CiAgICAgICAgeCA9IEludGVnZXIucGFyc2VJbnQobGVjdG9yLnJlYWRMaW5lKCkpOwogICAgICAgIGZvcihpbnQgaT0wO2k8eDtpKyspCiAgICAgICAgewogICAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKCJFc2NyaXRhIGVsIG5vbWJyZSBkZWwgZW1wbGVhZG8iKTsKICAgICAgICAgIFN0cmluZyBqID0gbGVjdG9yLnJlYWRMaW5lKCk7CiAgICAgICAgICBMaXN0PFN0cmluZz5ub21icmVzPW5ldyBBcnJheUxpc3Q8U3RyaW5nPigpOwogICAgICAgICAgbm9tYnJlcy5hZGQoaik7ICAKICAgICAgICB9CgoJICAgICAKICAgICAgICB9CiAgICAgICAgCiAgICAgICAgcHVibGljIHZvaWQgdGVsZWZvbm8oKSB0aHJvd3MgRXhjZXB0aW9uCiAgICAgICAgewogICAgICAgIGludCB4OyAKICAgICAgICBCdWZmZXJlZFJlYWRlciBsZWN0b3I9bmV3IEJ1ZmZlcmVkUmVhZGVyKG5ldyBJbnB1dFN0cmVhbVJlYWRlcihTeXN0ZW0uaW4pKTsKICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4oIsK/Q3XDoW50b3MgdGVsw6lmb25vcyB2YSBhIGFncmVnYXI/Iik7CiAgICAgICAgeCA9IEludGVnZXIucGFyc2VJbnQobGVjdG9yLnJlYWRMaW5lKCkpOwogICAgICAgIGZvcihpbnQgaT0wO2k8eDtpKyspCiAgICAgICAgewogICAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKCJFc2NyaWJhIGVsIG7Dum1lcm8iKTsKICAgICAgICAgIGludCBqID0gSW50ZWdlci5wYXJzZUludChsZWN0b3IucmVhZExpbmUoKSk7CiAgICAgICAgICBMaXN0PEludGVnZXI+bnVtZXJvcz1uZXcgQXJyYXlMaXN0PEludGVnZXI+KCk7CiAgICAgICAgICBudW1lcm9zLmFkZChqKTsgIAogICAgICAgIH0KCgkgICAgIAogICAgICAgIH0KICAgICAgIAp9