org.unisens
Class ValueList

java.lang.Object
  extended by org.unisens.ValueList

public class ValueList
extends java.lang.Object

ValueList is a set of Values that can be accessed as Array of samplestamps and object [length][channelCount]. ValueList can for example be used from Matlab for a easier access.

Author:
Joerg Ottenbacher, Radi Nedkov, Malte Kirst

Constructor Summary
ValueList()
           
ValueList(long[] samplestamps, java.lang.Object data)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Object getData()
          Gets the rows of data of this ValueList as object [length][channelCount]
 long[] getSamplestamps()
          Gets the samplestamps of this list of values.
 void setData(java.lang.Object data)
          Sets the rows of data of this ValueList as object [length][channelCount]
 void setSamplestamps(long[] samplestamps)
          Sets the samplestamps of this list of values
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueList

public ValueList()

ValueList

public ValueList(long[] samplestamps,
                 java.lang.Object data)
Constructor

Parameters:
samplestamps - the Array of samplestamps
data - of this ValueList as object [length][channelCount]
Method Detail

getSamplestamps

public long[] getSamplestamps()
Gets the samplestamps of this list of values.

Returns:
the Array of samplestamps

setSamplestamps

public void setSamplestamps(long[] samplestamps)
Sets the samplestamps of this list of values

Parameters:
samplestamps - the Array of samplestamps

getData

public java.lang.Object getData()
Gets the rows of data of this ValueList as object [length][channelCount]

Returns:
the rows of data

setData

public void setData(java.lang.Object data)
Sets the rows of data of this ValueList as object [length][channelCount]

Parameters:
data - the rows of data

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object