sonification.dataimport.visbards_resourcetoolkit.repository.resource
Class Reading

java.lang.Object
  extended by sonification.dataimport.visbards_resourcetoolkit.repository.resource.Reading

public class Reading
extends java.lang.Object

This reading contains data values to be loaded. The data can be referenced by column. Currently a wrapper arround a hashmap to make it more understandable.


Constructor Summary
Reading(java.util.HashMap values)
          This hashmap contains Column objects as keys, and float[] arrays as values.
 
Method Summary
 double[] get(Column col)
          Returns a vector value from this reading.
 double[] get(java.lang.String colname)
           
 Column[] getColumns()
          Returns the zin this reading.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Reading

public Reading(java.util.HashMap values)
This hashmap contains Column objects as keys, and float[] arrays as values. If the size of the float[] array is 1 - it is a scalar, if the size of the float[] array is 3 - it is a vector.

Method Detail

getColumns

public Column[] getColumns()
Returns the zin this reading.


get

public double[] get(java.lang.String colname)

get

public double[] get(Column col)
Returns a vector value from this reading.