Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/careercup/ctci
/ getInstance
Method
getInstance
java/Chapter 16/Question16_4/LockFactory.java:27–29 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
25
}
26
27
public
static
LockFactory getInstance() {
28
return
instance;
29
}
30
31
public
static
LockFactory initialize(
int
count) {
32
if
(instance == null) {
Callers
1
main
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected