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

Method set

src/main/java/field/utility/Dict.java:346–349  ·  view source on GitHub ↗
(Prop<Q> p, Q v)

Source from the content-addressed store, hash-verified

344
345 // typing issues with javac, no need for this additional <V>
346 public <Q, V> Prop<V> set(Prop<Q> p, Q v) {
347 getAttributes().put(p, v);
348 return (Prop<V>) this;
349 }
350
351 public <V> Prop<V> set(Prop<Boolean> m) {
352 getAttributes().put(m, true);

Callers

nothing calls this directly

Calls 2

getAttributesMethod · 0.95
putMethod · 0.45

Tested by

no test coverage detected