23 lines
429 B
Java
23 lines
429 B
Java
package pakeje;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
public class GestionTravaux {
|
|
public ArrayList<Batiment> listeBatiment;
|
|
public ArrayList<Technicien> listeTechnicien;
|
|
|
|
public GestionTravaux() {
|
|
listeBatiment = new ArrayList<>();
|
|
listeTechnicien = new ArrayList<>();
|
|
}
|
|
|
|
public void ajouterBatiment( Batiment b) {
|
|
listeBatiment.add(b);
|
|
}
|
|
|
|
public void ajouterTechnicien( Technicien t) {
|
|
listeTechnicien.add(t);
|
|
}
|
|
|
|
}
|