MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / Paper

Class Paper

patterns/trash/Paper.java:7–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5package patterns.trash;
6
7public 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected