edu.rice.comp211.laundry.command
Class Outfit

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

public class Outfit
extends Command

Variant class in Command union. Returns a string describing the clothes the student is currently wearing.


Constructor Summary
Outfit()
           
 
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

Outfit

public Outfit()
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