@Deprecated public final class Sample extends Object implements Cloneable
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.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()
Copyright © 2015 L'Xtreme IT consultancy. All rights reserved.