2015-09-07 11:44:36 -06:00
|
|
|
|
// patterns/trashvisitor/Visitor.java
|
2015-06-15 17:47:35 -07:00
|
|
|
|
// <20>2015 MindView LLC: see Copyright.txt
|
|
|
|
|
// The base interface for visitors.
|
|
|
|
|
package patterns.trashvisitor;
|
|
|
|
|
|
|
|
|
|
interface Visitor {
|
|
|
|
|
void visit(VAluminum a);
|
|
|
|
|
void visit(VPaper p);
|
|
|
|
|
void visit(VGlass g);
|
|
|
|
|
void visit(VCardboard c);
|
2015-09-07 11:44:36 -06:00
|
|
|
|
}
|