|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsims.mar.Sommet
sims.mar.Instruction
public class Instruction
Une instruction est un sommet executable qui est toujours associé à une commande
Method Summary | |
---|---|
int |
executer()
Execute l'intruction |
Commande |
getCommande()
|
int |
getID()
|
int |
getLigne()
Si la ligne vaut -1, aucune ligne n'est associé à cette exception |
void |
setCommande(Commande cmd)
Associé la commande à l'intruction |
void |
setLigne(int ligne)
|
Methods inherited from class sims.mar.Sommet |
---|
toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int executer()
public int getID()
public int getLigne()
public void setLigne(int ligne)
ligne
- Numéro de ligne à associer avec l'intructionpublic void setCommande(Commande cmd)
cmd
- Commade à associerpublic Commande getCommande()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |