Package ghidra.util.datastruct
Class WeakDataStructureFactory
java.lang.Object
ghidra.util.datastruct.WeakDataStructureFactory
Factory for creating containers to use in various threading environments
Other non-weak listeners:
-
Constructor Details
-
WeakDataStructureFactory
public WeakDataStructureFactory()
-
-
Method Details
-
createSingleThreadAccessWeakSet
Use when all access are on a single thread, such as the Swing thread.- Returns:
- a new WeakSet
-
createCopyOnReadWeakSet
Use when mutations outweigh iterations.- Returns:
- a new WeakSet
- See Also:
-
createCopyOnWriteWeakSet
Use when iterations outweigh mutations.- Returns:
- a new WeakSet
- See Also:
-