Package dataGram
Class DatagramDataPoint
java.lang.Object
dataGram.DatagramDataPoint
- All Implemented Interfaces:
Serializable
,ManagedParameters
- See Also:
-
Constructor Summary
ConstructorDescriptionDatagramDataPoint
(long startTime, long endTime, int dataLength) DatagramDataPoint
(Datagram datagram, long startTime, long endTime, int dataLength) -
Method Summary
Modifier and TypeMethodDescriptionfloat[]
getData()
long
Get a set of data that describes all of the parameters in a classlong
void
setData
(float[] data, int nDataPoints) void
setEndTime
(long endTime) Set the end time of the data point
-
Constructor Details
-
DatagramDataPoint
- Parameters:
datagram
-startTime
-endTime
-
-
DatagramDataPoint
public DatagramDataPoint(long startTime, long endTime, int dataLength) - Parameters:
startTime
-endTime
-datagram
-
-
-
Method Details
-
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
Description copied from interface:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Returns:
- description of the parameters in a class.
-