Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenEndedGroup/Field2
/ Variant
Method
Variant
src/main/java/fieldbox/boxes/plugins/Variant.java:165–167 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
163
}
164
165
public
Variant() {
166
this(null);
167
}
168
169
public
Variant(Box root) {
170
this.properties.put(variant, x ->
new
CurrentVariant(x, x.properties.getOrConstruct(theVariant)));
Callers
nothing calls this directly
Calls
6
selection
Method · 0.95
selectionOrAll
Method · 0.95
count
Method · 0.80
get
Method · 0.65
put
Method · 0.45
getOrConstruct
Method · 0.45
Tested by
no test coverage detected