mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GP-1826 - Scripting - Created a Script Quick Launch dialog.
This commit is contained in:
parent
b6181be1e4
commit
2a5e6f45b8
24 changed files with 923 additions and 214 deletions
|
@ -15,8 +15,15 @@
|
|||
*/
|
||||
package ghidra.util.datastruct;
|
||||
|
||||
import generic.concurrent.ConcurrentListenerSet;
|
||||
|
||||
/**
|
||||
* Factory for creating containers to use in various threading environments
|
||||
*
|
||||
* Other non-weak listeners:
|
||||
* <ul>
|
||||
* <li>{@link ConcurrentListenerSet}</li>
|
||||
* </ul>
|
||||
*/
|
||||
public class WeakDataStructureFactory {
|
||||
|
||||
|
@ -26,7 +33,7 @@ public class WeakDataStructureFactory {
|
|||
* @return a new WeakSet
|
||||
*/
|
||||
public static <T> WeakSet<T> createSingleThreadAccessWeakSet() {
|
||||
return new ThreadUnsafeWeakSet<T>();
|
||||
return new ThreadUnsafeWeakSet<>();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -36,7 +43,7 @@ public class WeakDataStructureFactory {
|
|||
* @see CopyOnReadWeakSet
|
||||
*/
|
||||
public static <T> WeakSet<T> createCopyOnReadWeakSet() {
|
||||
return new CopyOnReadWeakSet<T>();
|
||||
return new CopyOnReadWeakSet<>();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -46,6 +53,6 @@ public class WeakDataStructureFactory {
|
|||
* @see CopyOnWriteWeakSet
|
||||
*/
|
||||
public static <T> WeakSet<T> createCopyOnWriteWeakSet() {
|
||||
return new CopyOnWriteWeakSet<T>();
|
||||
return new CopyOnWriteWeakSet<>();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue