001package myhw2.command; 002 003/** 004 * A simple command interface. 005 */ 006public interface Command { 007 /** 008 * The command body. 009 * @return true if command succeeds, false otherwise 010 */ 011 public boolean run (); 012}