|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.lxtreme.ols.test.data.project.StubCursor
public final class StubCursor
Denotes a cursor with a timestamp, label and index.
Constructor Summary | |
---|---|
StubCursor(int aIndex)
Creates a new StubCursor instance. |
|
StubCursor(int aIndex,
long aTimestamp)
Creates a new StubCursor instance. |
|
StubCursor(int aIndex,
Long aTimestamp)
Creates a new Cursor instance. |
Method Summary | |
---|---|
void |
clear()
|
StubCursor |
clone()
|
int |
compareTo(StubCursor aOtherCursor)
|
boolean |
equals(Object aObject)
|
Color |
getColor()
|
int |
getIndex()
|
String |
getLabel()
|
long |
getTimestamp()
|
int |
hashCode()
|
boolean |
hasLabel()
|
boolean |
inArea(long aTimestamp,
double aDelta)
|
boolean |
isDefined()
|
void |
setColor(Color aColor)
|
void |
setLabel(String aLabel)
|
void |
setTimestamp(long aTimestamp)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StubCursor(int aIndex)
StubCursor
instance.
aIndex
- the index of this cursor, >= 0 && < .
IllegalArgumentException
- in case the given index was invalid.public StubCursor(int aIndex, long aTimestamp)
StubCursor
instance.
aIndex
- the index of this cursor, >= 0 && < ;aTimestamp
- the timestamp of this cursor.
IllegalArgumentException
- in case the given index was invalid.public StubCursor(int aIndex, Long aTimestamp)
aIndex
- the index of this cursor, >= 0 && < ;aTimestamp
- the timestamp of this cursor, can be null
in case
this cursor is undefined.
IllegalArgumentException
- in case the given index was invalid.Method Detail |
---|
public void clear()
clear
in interface nl.lxtreme.ols.api.data.Cursor
public StubCursor clone()
clone
in interface nl.lxtreme.ols.api.data.Cursor
clone
in class Object
public int compareTo(StubCursor aOtherCursor)
compareTo
in interface Comparable<StubCursor>
public boolean equals(Object aObject)
equals
in class Object
public Color getColor()
getColor
in interface nl.lxtreme.ols.api.data.Cursor
public int getIndex()
getIndex
in interface nl.lxtreme.ols.api.data.Cursor
public String getLabel()
getLabel
in interface nl.lxtreme.ols.api.data.Cursor
public long getTimestamp()
getTimestamp
in interface nl.lxtreme.ols.api.data.Cursor
public int hashCode()
hashCode
in class Object
public boolean hasLabel()
hasLabel
in interface nl.lxtreme.ols.api.data.Cursor
public boolean inArea(long aTimestamp, double aDelta)
inArea
in interface nl.lxtreme.ols.api.data.Cursor
public boolean isDefined()
isDefined
in interface nl.lxtreme.ols.api.data.Cursor
public void setColor(Color aColor)
setColor
in interface nl.lxtreme.ols.api.data.Cursor
public void setLabel(String aLabel)
setLabel
in interface nl.lxtreme.ols.api.data.Cursor
public void setTimestamp(long aTimestamp)
setTimestamp
in interface nl.lxtreme.ols.api.data.Cursor
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |