Cita de: Nasty35 en 17 Mayo 2014, 12:55 PMCódigo (java) [Seleccionar]public boolean addEmail(String email) {
this.space.add(new DirectoryItem("Nombre", "Apellido").addEmail(email));
return true;
}
no hay manera... el add da el siguiente error:
the method add(DirectoryItem) in the type ArrayList<DirectoryItem> is not applicable for the arguments(boolen)