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

Method asMap_get

src/main/java/fieldbox/boxes/Box.java:439–453  ·  view source on GitHub ↗
(String m)

Source from the content-addressed store, hash-verified

437
438 return r;
439 }
440
441 @Override
442 @HiddenInAutocomplete
443 public Object asMap_get(String m) {
444
445 if (m == null) return null;
446
447 if (m.equals("_")) return new Subscope(this);
448
449 if (m.equals("children")) return new BoxChildHelper(children);
450 if (m.equals("parents")) return new BoxChildHelper(parents);
451
452 Object ret = asMap_get_find(m);
453
454 return asMap_get_interpret(ret);
455 }
456

Callers 1

asMap_getElementMethod · 0.95

Calls 3

asMap_get_findMethod · 0.95
asMap_get_interpretMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected