Documentation of 'visad.data.ArrayCache' Java class
ArrayCache
visad.data

Class ArrayCache



  • public class ArrayCache
    extends java.lang.Object
    This class is used by the CachingCoordinateSystem to do the actual caching mapping one array to another one
    • Constructor Summary

      Constructors 
      Constructor and Description
      ArrayCache()
      ctor
      ArrayCache(boolean enabled)
      ctor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void finalize() 
      ArrayCache.DoubleResult get(java.lang.String key, double[][] input)
      Get the converted value for the specified key and input pairs
      ArrayCache.FloatResult get(java.lang.String key, float[][] input)
      Get the converted value for the specified key and input pairs
      void put(java.lang.String key, double[][] input, ArrayCache.DoubleResult results)
      Put the converted value for the specified key and input pairs
      void put(java.lang.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

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ArrayCache

        public ArrayCache()
        ctor
      • ArrayCache

        public ArrayCache(boolean enabled)
        ctor
        Parameters:
        enabled - If false then never cache
    • Method Detail

      • get

        public ArrayCache.FloatResult get(java.lang.String key,
                                          float[][] input)
        Get the converted value for the specified key and input pairs
        Parameters:
        key - The key (e.g., "toReference", "fromReference")
        input - The input
        Returns:
        value for supplied key
      • get

        public ArrayCache.DoubleResult get(java.lang.String key,
                                           double[][] input)
        Get the converted value for the specified key and input pairs
        Parameters:
        key - The key (e.g., "toReference", "fromReference")
        input - The input
        Returns:
        value for the supplied key
      • put

        public void put(java.lang.String key,
                        double[][] input,
                        ArrayCache.DoubleResult results)
        Put the converted value for the specified key and input pairs
        Parameters:
        key - The key
        input - The input array
        results - The array to store
      • put

        public void put(java.lang.String key,
                        float[][] input,
                        ArrayCache.FloatResult results)
        Put the converted value for the specified key and input pairs
        Parameters:
        key - The key
        input - The input array
        results - The array to store
      • finalize

        public void finalize()
                      throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.