|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.rice.comp211.laundry.command.Command
edu.rice.comp211.laundry.command.Receive
public class Receive
Variant class in Command union. Represents the receiving of the new given garment.
Field Summary | |
---|---|
Garment |
garment
|
Constructor Summary | |
---|---|
Receive(Garment g)
|
Method Summary | ||
---|---|---|
|
accept(CommandVisitor<R> c)
|
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final Garment garment
Constructor Detail |
---|
public Receive(Garment g)
Method Detail |
---|
public <R> R accept(CommandVisitor<R> c)
accept
in class Command
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |