Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/BruceEckel/OnJava8-Examples
/ test
Method
test
reflection/Robot.java:12–12 ·
view source on GitHub ↗
(Robot r)
Source
from the content-addressed store, hash-verified
10
String model();
11
List<Operation> operations();
12
static
void
test(Robot r) {
13
if
(r instanceof Null)
14
System.out.println(
"[Null Robot]"
);
15
System.out.println(
"Robot name: "
+ r.name());
Callers
3
main
Method · 0.95
show
Method · 0.65
main
Method · 0.65
Implementers
2
NRobot
reflection/NullRobot.java
SnowRobot
reflection/SnowRobot.java
Calls
no outgoing calls
Tested by
no test coverage detected