MCPcopy Create free account
hub / github.com/RevEngAI/plugin-ghidra / clone

Method clone

src/main/java/docking/wizard/WizardState.java:26–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 private Map<T, Set<T>> dependentMap = new HashMap<T, Set<T>>();
25
26 @Override
27 protected Object clone() {
28 WizardState<T> anakin = new WizardState<T>();
29 anakin.map = new HashMap<T, Object>(map);
30 Set<Entry<T,Set<T>>> entrySet = dependentMap.entrySet();
31 for (Entry<T, Set<T>> entry : entrySet) {
32 T key = entry.getKey();
33 Set<T> value = entry.getValue();
34 anakin.dependentMap.put(key, new HashSet<T>(value));
35 }
36 return anakin;
37 }
38
39 /**
40 * Gets the value for a property key.

Callers 2

hasNextPanelMethod · 0.80
canFinishMethod · 0.80

Calls 2

putMethod · 0.80
getValueMethod · 0.45

Tested by

no test coverage detected