Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/BruceEckel/OnJava8-Examples
/ array
Method
array
onjava/Count.java:112–114 ·
view source on GitHub ↗
(int sz)
Source
from the content-addressed store, hash-verified
110
public
short get() {
return
s++; }
111
public
short get(
int
n) {
return
get(); }
112
public
short[] array(
int
sz) {
113
return
primitive(
new
Short().array(sz));
114
}
115
}
116
class
Integer
117
implements Supplier<java.lang.Integer> {
Callers
nothing calls this directly
Calls
2
primitive
Method · 0.80
array
Method · 0.45
Tested by
no test coverage detected