public class ArrayCache extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ArrayCache.DoubleResult |
static class |
ArrayCache.FloatResult |
Constructor and Description |
---|
ArrayCache()
ctor
|
ArrayCache(boolean enabled)
ctor
|
Modifier and Type | Method and Description |
---|---|
void |
finalize() |
ArrayCache.DoubleResult |
get(String key,
double[][] input)
Get the converted value for the specified key and input pairs
|
ArrayCache.FloatResult |
get(String key,
float[][] input)
Get the converted value for the specified key and input pairs
|
void |
put(String key,
double[][] input,
ArrayCache.DoubleResult results)
Put the converted value for the specified key and input pairs
|
void |
put(String key,
float[][] input,
ArrayCache.FloatResult results)
Put the converted value for the specified key and input pairs
|
public ArrayCache()
public ArrayCache(boolean enabled)
enabled
- If false then never cachepublic ArrayCache.FloatResult get(String key, float[][] input)
key
- The key (e.g., "toReference", "fromReference")input
- The inputpublic ArrayCache.DoubleResult get(String key, double[][] input)
key
- The key (e.g., "toReference", "fromReference")input
- The inputpublic void put(String key, double[][] input, ArrayCache.DoubleResult results)
key
- The keyinput
- The input arrayresults
- The array to storepublic void put(String key, float[][] input, ArrayCache.FloatResult results)
key
- The keyinput
- The input arrayresults
- The array to storeCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.