Package qupath.lib.analysis.stats
Interface ArrayWrappers.ArrayWrapper
- Enclosing class:
ArrayWrappers
public static interface ArrayWrappers.ArrayWrapper
Simple wrapper for an array or list, enabling values to be returned as doubles.
-
Method Details
-
size
int size()Number of entries in the array.- Returns:
-
getDouble
double getDouble(int ind) Extract one entry from the array, converting to double as necessary.- Parameters:
ind
-- Returns:
-
isIntegerWrapper
boolean isIntegerWrapper()Returns true if the array wrapper only supports integer values.- Returns:
-