|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.lxtreme.ols.api.data.Sample
@Deprecated public final class Sample
Denotes a sample of data, which has a value and a timestamp.
Constructor Summary | |
---|---|
Sample(long aTimestamp,
int aValue)
Deprecated. Creates a new 32-bit Sample instance. |
|
Sample(long aTimestamp,
int aValue,
int aWidth)
Deprecated. Creates a new 32-bit Sample instance. |
Method Summary | |
---|---|
Sample |
clone()
Deprecated. Creates a copy of this sample. |
boolean |
equals(Object aObject)
Deprecated. |
long |
getTimestamp()
Deprecated. Returns the timestamp. |
int |
getValue()
Deprecated. Returns the sample value. |
int |
getWidth()
Deprecated. Returns the width of this sample. |
int |
hashCode()
Deprecated. |
String |
toString()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Sample(long aTimestamp, int aValue)
aTimestamp
- the timestamp of this sample;aValue
- the sample value.public Sample(long aTimestamp, int aValue, int aWidth)
aTimestamp
- the timestamp of this sample;aValue
- the sample value;aWidth
- the width of this sample, in bytes.Method Detail |
---|
public Sample clone() throws CloneNotSupportedException
clone
in class Object
null
.
CloneNotSupportedException
Object.clone()
public boolean equals(Object aObject)
equals
in class Object
Object.equals(java.lang.Object)
public long getTimestamp()
public int getValue()
public int getWidth()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |