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

Method Store

generics/Store.java:58–62  ·  view source on GitHub ↗
(
    int nAisles, int nShelves, int nProducts)

Source from the content-addressed store, hash-verified

56 new ArrayList<>();
57 private Office office = new Office();
58 public Store(
59 int nAisles, int nShelves, int nProducts) {
60 for(int i = 0; i < nAisles; i++)
61 add(new Aisle(nShelves, nProducts));
62 }
63 @Override public String toString() {
64 StringBuilder result = new StringBuilder();
65 for(Aisle a : this)

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected