Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenEndedGroup/Field2
/ union
Method
union
src/main/java/field/utility/Cuboid.java:27–31 ·
view source on GitHub ↗
(Cuboid r, Cuboid rect)
Source
from the content-addressed store, hash-verified
25
}
26
27
public
static
Cuboid union(Cuboid r, Cuboid rect) {
28
if
(r == null)
return
rect;
29
if
(rect == null)
return
r;
30
return
r.union(rect);
31
}
32
33
public
Cuboid union(Cuboid r) {
34
if
(r == null)
return
this;
Callers
nothing calls this directly
Calls
2
min
Method · 0.45
max
Method · 0.45
Tested by
no test coverage detected