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

Class Memo

src/main/java/fieldbox/boxes/plugins/Variant.java:132–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130 }
131
132 static public class Memo implements Util.ExceptionlessAutoClosable {
133 Map<Box, Boolean> state = new LinkedHashMap<>();
134
135 @Override
136 public void close() {
137 for (Map.Entry<Box, Boolean> e : state.entrySet()) {
138 e.getKey().disconnected = e.getValue();
139 }
140
141 }
142 }
143
144 public static Memo freezeGraph(Box documentRoot) {
145

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected