MCPcopy Create free account
hub / github.com/atas76/openengine / hasEntity

Method hasEntity

src/main/java/org/fgn/schema/ActionType.java:13–15  ·  view source on GitHub ↗
(String key)

Source from the content-addressed store, hash-verified

11 private static Map<String, BaseObject> entities;
12
13 public static boolean hasEntity(String key) {
14 return entities.containsKey(key);
15 }
16
17 public static void load(Schema schema) {
18 entities = schema.getActions().stream().collect(Collectors.toMap(BaseObject::getId, baseObject -> baseObject));

Callers 1

parseActionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected