|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.lxtreme.ols.api.data.ChannelAnnotation
@Deprecated public final class ChannelAnnotation
Provides an annotation for a single channel.
Constructor Summary | |
---|---|
ChannelAnnotation(long aStartIndex,
long aEndIndex,
Object aData)
Deprecated. Creates a new ChannelAnnotation instance. |
Method Summary | |
---|---|
int |
compareTo(ChannelAnnotation aAnnotation)
Deprecated. |
boolean |
equals(Object obj)
Deprecated. |
Object |
getData()
Deprecated. |
long |
getEndTimestamp()
Deprecated. |
long |
getStartTimestamp()
Deprecated. |
int |
hashCode()
Deprecated. |
boolean |
isInRange(long aTimestamp)
Deprecated. Returns whether this annotation starts before the given index and ends after the given index. |
boolean |
isInRange(long aStartIndex,
long aEndIndex)
Deprecated. Returns whether this annotation's start index is before the given end index and its end index is after the given start index. |
String |
toString()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChannelAnnotation(long aStartIndex, long aEndIndex, Object aData)
aStartIndex
- the sample index on which this annotation starts;aEndIndex
- the end index on which this annotation ends;aData
- the actual annotated data.Method Detail |
---|
public int compareTo(ChannelAnnotation aAnnotation)
compareTo
in interface Comparable<ChannelAnnotation>
Comparable.compareTo(java.lang.Object)
public boolean equals(Object obj)
equals
in class Object
public Object getData()
public long getEndTimestamp()
public long getStartTimestamp()
public int hashCode()
hashCode
in class Object
public boolean isInRange(long aTimestamp)
aIndex
- the index.
true
if this annotation is valid at the given index
(see above), false
otherwise.public boolean isInRange(long aStartIndex, long aEndIndex)
aStartIndex
- the starting index;aEndIndex
- the ending index.
true
if this annotation is valid between the given
range (see above), false
otherwise.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 |