public boolean pertains(Command command) {
   return command.getHeader().equals("dir") && command.argumentsCount() == 0;
 }
Ejemplo n.º 2
0
 public boolean pertains(Command command) {
   return command.getHeader().equals("exit");
 }