E
- type of datapublic class DataPoint<E>
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DataPoint(int frame,
E data)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
E |
getData()
Returns stored data.
|
int |
getFrame()
Returns the frame position.
|
void |
setData(E data)
Sets stored data.
|
void |
setFrame(int frame)
Sets the frame position.
|
java.lang.String |
toString()
Returns the value of the data.toString() function.
|
protected int frame
protected E data
public DataPoint(int frame, E data)
frame
- The frame position from which the data comes from.data
- Datapublic int getFrame()
public void setFrame(int frame)
frame
- public E getData()
public void setData(E data)
data
- public java.lang.String toString()
toString
in class java.lang.Object