@Deprecated public class ChannelAnnotations extends Object
Constructor and Description |
---|
ChannelAnnotations(int aChannel)
Deprecated.
Creates a new ChannelAnnotations instance.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public ChannelAnnotations(int aChannel)
aChannel
- the index of the sample channel, >= 0 && <
32.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()
Copyright © 2015 L'Xtreme IT consultancy. All rights reserved.