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

Method getFromMap

src/main/java/field/utility/Dict.java:664–668  ·  view source on GitHub ↗
(Prop<? extends Map<String, T>> key, K tok)

Source from the content-addressed store, hash-verified

662 }
663
664 public <K, T> T getFromMap(Prop<? extends Map<String, T>> key, K tok) {
665 Map<K, T> c = (Map<K, T>) get(key);
666 if (c == null) return null;
667 return c.get(tok);
668 }
669
670
671 public <T> void removeFromCollection(Prop<? extends Collection<T>> p, T q) {

Callers 2

feedbackMethod · 0.80
IsExecutingMethod · 0.80

Calls 2

getMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected