-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTransition.java
More file actions
46 lines (37 loc) · 1.1 KB
/
Copy pathTransition.java
File metadata and controls
46 lines (37 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
public class Transition {
private String read;
private String replace;
private String direction;
private String nextState;
public String getReplace() {
// Retourne le caractère de remplacement.
return replace;
}
public void setReplace(String replace) {
// Défini le caractère de remplacement.
this.replace = replace;
}
public void setRead(String read) {
// Défini la condition de la transition.
this.read = read;
}
public String getDirection() {
// Retourne la direction de déplacement de la tete de lecture.
return direction;
}
public void setDirection(String direction) {
// Défini la direction de déplacement de la tete de lecture.
this.direction = direction;
}
public String getNextState() {
// Retourne le nom de l'état suivant.
return nextState;
}
public void setNextState(String nextState) {
// Défini le nom de l'état suivant.
this.nextState = nextState;
}
public String getRead() {
return read;
}
}