|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.data.ArrayCache
public class ArrayCache
This class is used by the CachingCoordinateSystem to do the actual caching mapping one array to another one
Nested Class Summary | |
---|---|
static class |
ArrayCache.DoubleResult
|
static class |
ArrayCache.FloatResult
|
Constructor Summary | |
---|---|
ArrayCache()
ctor |
|
ArrayCache(boolean enabled)
ctor |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArrayCache()
public ArrayCache(boolean enabled)
enabled
- If false then never cacheMethod Detail |
---|
public ArrayCache.FloatResult get(String key, float[][] input)
key
- The key (e.g., "toReference", "fromReference")input
- The input
public ArrayCache.DoubleResult get(String key, double[][] input)
key
- The key (e.g., "toReference", "fromReference")input
- The input
public 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 storepublic void finalize() throws Throwable
finalize
in class Object
Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |