Package dataGram

Class DatagramDataPoint

java.lang.Object
dataGram.DatagramDataPoint
All Implemented Interfaces:
Serializable, ManagedParameters

public class DatagramDataPoint extends Object implements Serializable, ManagedParameters
See Also:
  • Constructor Details

    • DatagramDataPoint

      public DatagramDataPoint(Datagram datagram, long startTime, long endTime, int dataLength)
      Parameters:
      datagram -
      startTime -
      endTime -
    • DatagramDataPoint

      public DatagramDataPoint(long startTime, long endTime, int dataLength)
      Parameters:
      startTime -
      endTime -
      datagram -
  • Method Details

    • getDatagram

      public Datagram getDatagram()
      Returns:
      the datagram
    • getStartTime

      public long getStartTime()
      Returns:
      the startTime
    • getEndTime

      public long getEndTime()
      Returns:
      the endTime
    • setEndTime

      public void setEndTime(long endTime)
      Set the end time of the data point
      Parameters:
      endTime - the end time
    • getData

      public float[] getData()
      Returns:
      the data
    • setData

      public void setData(float[] data, int nDataPoints)
      Parameters:
      data - the data to set
    • getParameterSet

      public PamParameterSet getParameterSet()
      Description copied from interface: ManagedParameters
      Get a set of data that describes all of the parameters in a class
      Specified by:
      getParameterSet in interface ManagedParameters
      Returns:
      description of the parameters in a class.