Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/BruceEckel/OnJava8-Examples
/ show
Method
show
onjava/TestRange.java:10–12 ·
view source on GitHub ↗
(int[] rng)
Source
from the content-addressed store, hash-verified
8
9
public
class
TestRange {
10
private
static
void
show(
int
[] rng) {
11
System.out.println(Arrays.toString(rng));
12
}
13
public
static
void
main(String[] args) {
14
show(range(10, 21, 3));
15
show(range(21, 10, -3));
Callers
1
main
Method · 0.95
Calls
1
toString
Method · 0.45
Tested by
no test coverage detected