-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProtocole.java
More file actions
22 lines (18 loc) · 778 Bytes
/
Protocole.java
File metadata and controls
22 lines (18 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import java.util.*;
public class Protocole
{
protected ArrayList<String> especes = new ArrayList<String>();
protected Hashtable tests_dispos = new Hashtable();
protected List<String> semaine = Arrays.asList("Lundi","Mardi","Mercredi","Jeudi","Vendredi");
public Protocole()
{
especes.add("singe");
especes.add("souris");
tests_dispos.put("Souris 1", new ArrayList<String>(Arrays.asList("Labyrinthe")));
tests_dispos.put("Souris 2", new ArrayList<String>(Arrays.asList("Nourriture")));
tests_dispos.put("Singe", new ArrayList<String>(Arrays.asList("Image")));
}
public ArrayList<String> getEspeces() {return especes;}
public Hashtable getTestsDispos() {return tests_dispos;}
public List<String> getSemaine() {return semaine;}
}