15 lines
351 B
Java
Raw Normal View History

2015-05-05 11:20:13 -07:00
//: patterns/trashvisitor/VGlass.java
2015-05-29 14:18:51 -07:00
// <20>2015 MindView LLC: see Copyright.txt
2015-05-05 11:20:13 -07:00
// Glass for the visitor pattern.
package patterns.trashvisitor;
import patterns.trash.*;
public class VGlass extends Glass
implements Visitable {
public VGlass(double wt) { super(wt); }
@Override
public void accept(Visitor v) {
v.visit(this);
}
} ///:~