Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/careercup/ctci
/ getInstance
Method
getInstance
java/Chapter 8/Question8_8/Game.java:18–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
}
17
18
public
static
Game getInstance() {
19
if
(instance == null) {
20
instance =
new
Game();
21
}
22
return
instance;
23
}
24
25
public
Board getBoard() {
26
return
board;
Callers
4
playRandom
Method · 0.95
main
Method · 0.95
getScore
Method · 0.95
playPiece
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected