Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/BruceEckel/OnJava8-Examples
/ get
Method
get
onjava/CountMap.java:24–26 ·
view source on GitHub ↗
(Object key)
Source
from the content-addressed store, hash-verified
22
this.size = size < 0 ? 0 : size;
23
}
24
@Override
public
String get(Object key) {
25
return
value((Integer)key);
26
}
27
private
static
class
Entry
28
implements Map.Entry<Integer,String> {
29
int
index;
Callers
1
main
Method · 0.95
Calls
1
value
Method · 0.95
Tested by
no test coverage detected