Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WinVector/Logistic
/ get
Method
get
src/com/winvector/util/CountMapV.java:47–54 ·
view source on GitHub ↗
(final T key, final int index)
Source
from the content-addressed store, hash-verified
45
}
46
47
public
double get(
final
T key,
final
int
index) {
48
final
double[] v = counts.get(key);
49
if
(v!=null) {
50
return
v[index];
51
}
else
{
52
return
0.0;
53
}
54
}
55
}
Callers
1
observe
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected