Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Berkeley-CS61B/skeleton-sp23
/ sample
Method
sample
proj1c/src/gh2/GuitarString.java:49–52 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
47
48
/* Return the double at the front of the buffer. */
49
public
double sample() {
50
// TODO: Return the correct thing.
51
return
0;
52
}
53
}
54
// TODO: Remove all comments that say TODO when you're done.
Callers
5
main
Method · 0.95
testPluckTheAString
Method · 0.95
testSample
Method · 0.95
testTic
Method · 0.95
testTicCalculations
Method · 0.95
Calls
no outgoing calls
Tested by
4
testPluckTheAString
Method · 0.76
testSample
Method · 0.76
testTic
Method · 0.76
testTicCalculations
Method · 0.76