edu.rice.comp211.laundry.command
Class Command

java.lang.Object
  extended by edu.rice.comp211.laundry.command.Command
Direct Known Subclasses:
Change, Fold, Launder, Lose, Outfit, Receive

public abstract class Command
extends Object

Command :: = Receive | Lose | Change | Launder | Fold | Outfit Root class for the Command union. Represents a request for the student to do something.


Constructor Summary
Command()
           
 
Method Summary
abstract
<R> R
accept(CommandVisitor<R> c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Command

public Command()
Method Detail

accept

public abstract <R> R accept(CommandVisitor<R> c)