Package qupath.lib.common
Class Prefs
java.lang.Object
qupath.lib.common.Prefs
Core QuPath preferences. Currently these are not persistent, but this behavior may change in the future.
- Author:
- Pete Bankhead
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
Get the requested number of threads to use for parallelization.static void
setNumThreads
(int n) Set the requested number of threads.
-
Constructor Details
-
Prefs
public Prefs()
-
-
Method Details
-
getNumThreads
public static int getNumThreads()Get the requested number of threads to use for parallelization.- Returns:
-
setNumThreads
public static void setNumThreads(int n) Set the requested number of threads. This will be clipped to be at least 1.- Parameters:
n
-
-