|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.lxtreme.ols.api.data.ChannelAnnotations
@Deprecated public class ChannelAnnotations
Denotes a set of channel annotations for a single channel.
Constructor Summary | |
---|---|
ChannelAnnotations(int aChannel)
Deprecated. Creates a new ChannelAnnotations instance. |
Method Summary | |
---|---|
void |
addAnnotation(long aStartTimestamp,
long aEndTimestamp,
Object aData)
Deprecated. Adds a new annotation to this container. |
boolean |
equals(Object aObject)
Deprecated. |
ChannelAnnotation |
getAnnotation(int aTimeIndex)
Deprecated. Returns the annotation at the given time index. |
Collection<ChannelAnnotation> |
getAnnotations()
Deprecated. |
Iterator<ChannelAnnotation> |
getAnnotations(int aStartIdx,
int aEndIdx)
Deprecated. Returns all annotations that are "visible" in the range of the given start and end index. |
int |
getChannel()
Deprecated. |
int |
hashCode()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChannelAnnotations(int aChannel)
aChannel
- the index of the sample channel, >= 0 && <
32.Method Detail |
---|
public void addAnnotation(long aStartTimestamp, long aEndTimestamp, Object aData)
aStartIdx
- the start sample index of the annotation to add;aEndIdx
- the end sample index of the annotation to add;aData
- the actual annotation data of the annotation to add.public boolean equals(Object aObject)
equals
in class Object
Object.equals(java.lang.Object)
public ChannelAnnotation getAnnotation(int aTimeIndex)
aTimeIndex
- the index of the timestamps to return the annotation for, >= 0.
null
if no such annotation was present.public Collection<ChannelAnnotation> getAnnotations()
public Iterator<ChannelAnnotation> getAnnotations(int aStartIdx, int aEndIdx)
aStartIdx
- the start index of the "visible" range, >= 0;aEndIdx
- the end index of the "visible" range, >= 0.
null
.public int getChannel()
public int hashCode()
hashCode
in class Object
Object.hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |