edu.rice.comp211.laundry.command
Class Fold

java.lang.Object
  extended by edu.rice.comp211.laundry.command.Command
      extended by edu.rice.comp211.laundry.command.Fold

public class Fold
extends Command

Variant class in Command union. Represents a request to fold one pile of clean clothes in the laundry room.


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

Constructor Detail

Fold

public Fold()
Method Detail

accept

public <R> R accept(CommandVisitor<R> c)
Specified by:
accept in class Command

toString

public String toString()
Overrides:
toString in class Object