visad.data
Class ArrayWrapper

java.lang.Object
  extended by visad.data.ArrayWrapper

public class ArrayWrapper
extends Object


Constructor Summary
ArrayWrapper(byte[] values)
          add the data to the cache
ArrayWrapper(byte[][] values)
          add the data to the cache
ArrayWrapper(double[] values)
          add the data to the cache
ArrayWrapper(double[][] values)
          add the data to the cache
ArrayWrapper(float[] values)
          add the data to the cache
ArrayWrapper(float[][] values)
          add the data to the cache
ArrayWrapper(int[] values)
          add the data to the cache
ArrayWrapper(int[][] values)
          add the data to the cache
ArrayWrapper(short[] values)
          add the data to the cache
ArrayWrapper(short[][] values)
          add the data to the cache
 
Method Summary
 void finalize()
           
 byte[] getByteArray1D()
          get the value
 byte[][] getByteArray2D()
          get the value
 double[] getDoubleArray1D()
          get the value
 double[][] getDoubleArray2D()
          get the value
 float[] getFloatArray1D()
          get the value
 float[][] getFloatArray2D()
          get the value
 int[] getIntArray1D()
          get the value
 int[][] getIntArray2D()
          get the value
 short[] getShortArray1D()
          get the value
 short[][] getShortArray2D()
          get the value
 boolean inMemory()
           
 void updateData(Object newData)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayWrapper

public ArrayWrapper(byte[] values)
add the data to the cache

Parameters:
values - the values to add

ArrayWrapper

public ArrayWrapper(byte[][] values)
add the data to the cache

Parameters:
values - the values to add

ArrayWrapper

public ArrayWrapper(float[] values)
add the data to the cache

Parameters:
values - the values to add

ArrayWrapper

public ArrayWrapper(float[][] values)
add the data to the cache

Parameters:
values - the values to add

ArrayWrapper

public ArrayWrapper(double[] values)
add the data to the cache

Parameters:
values - the values to add

ArrayWrapper

public ArrayWrapper(double[][] values)
add the data to the cache

Parameters:
values - the values to add

ArrayWrapper

public ArrayWrapper(int[] values)
add the data to the cache

Parameters:
values - the values to add

ArrayWrapper

public ArrayWrapper(int[][] values)
add the data to the cache

Parameters:
values - the values to add

ArrayWrapper

public ArrayWrapper(short[] values)
add the data to the cache

Parameters:
values - the values to add

ArrayWrapper

public ArrayWrapper(short[][] values)
add the data to the cache

Parameters:
values - the values to add
Method Detail

inMemory

public boolean inMemory()

updateData

public void updateData(Object newData)

getByteArray1D

public byte[] getByteArray1D()
get the value

Returns:
the value

getByteArray2D

public byte[][] getByteArray2D()
get the value

Returns:
the value

getShortArray1D

public short[] getShortArray1D()
get the value

Returns:
the value

getShortArray2D

public short[][] getShortArray2D()
get the value

Returns:
the value

getIntArray1D

public int[] getIntArray1D()
get the value

Returns:
the value

getIntArray2D

public int[][] getIntArray2D()
get the value

Returns:
the value

getFloatArray1D

public float[] getFloatArray1D()
get the value

Returns:
the value

getFloatArray2D

public float[][] getFloatArray2D()
get the value

Returns:
the value

getDoubleArray1D

public double[] getDoubleArray1D()
get the value

Returns:
the value

getDoubleArray2D

public double[][] getDoubleArray2D()
get the value

Returns:
the value

finalize

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