MCPcopy Create free account
hub / github.com/Berkeley-CS61B/skeleton-sp23 / print

Method print

lab03/src/common/IntList.java:54–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 }
53
54 public String print() {
55 if (rest == null) {
56 // Converts an Integer to a String!
57 return String.valueOf(first);
58 } else {
59 return first + " -> " + rest.print();
60 }
61 }
62}

Callers 1

playStageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected