| 5 | package patterns.trash; |
| 6 | |
| 7 | public class Paper extends Trash { |
| 8 | public Paper(double wt) { super(wt); } |
| 9 | @Override public double price() { |
| 10 | return Price.PAPER; |
| 11 | } |
| 12 | // Ignore for now; to be used later: |
| 13 | @Override public void accept(Visitor v) { |
| 14 | v.visit(this); |
| 15 | } |
| 16 | } |
nothing calls this directly
no outgoing calls
no test coverage detected