Class Command
- java.lang.Object
-
- Command
-
public class Command extends Object
- Version:
- 08/03/2020
- Author:
- Gabriel Leroux aidé des enseignements de M.Bureau
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCommandWord()
Premier accesseur command wordString
getSecondWord()
Deuxieme accesseur second wordboolean
hasSecondWord()
fonction pour vérifier qu'un 2e mot est rentréboolean
isUnknown()
fonction pour vérifier que le premier mot existe
-
-
-
Method Detail
-
getCommandWord
public String getCommandWord()
Premier accesseur command word
-
getSecondWord
public String getSecondWord()
Deuxieme accesseur second word
-
hasSecondWord
public boolean hasSecondWord()
fonction pour vérifier qu'un 2e mot est rentré
-
isUnknown
public boolean isUnknown()
fonction pour vérifier que le premier mot existe
-
-