edu.rice.comp211.laundry.command
Class Lose
java.lang.Object
edu.rice.comp211.laundry.command.Command
edu.rice.comp211.laundry.command.Lose
public class Lose
- extends Command
Variant class in Command union.
Represents a request to lose to a garment exactly the same as the given garment.
garment
public final Garment garment
Lose
public Lose(Garment g)
accept
public <R> R accept(CommandVisitor<R> c)
- Specified by:
accept
in class Command
toString
public String toString()
- Overrides:
toString
in class Object