MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / set_

Method set_

src/main/java/field/graphics/UniformBundle.java:44–46  ·  view source on GitHub ↗
(String d, Supplier s)

Source from the content-addressed store, hash-verified

42 }
43
44 private void checkName(String d) {
45 if (uniforms.containsKey(d)) return;
46 try{
47 Integer.parseInt(d);
48 throw new IllegalArgumentException(" can't call a uniform by a number? '"+d+"' are you sure you didn't mean ["+d+"].something = ...?");
49 }

Callers

nothing calls this directly

Calls 3

checkNameMethod · 0.95
computeIfAbsentMethod · 0.80
setValueMethod · 0.45

Tested by

no test coverage detected