|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.timeindexing.basic.AbsoluteAdjustablePosition
An AbsoluteAdjustablePosition is a value that is an absolute position from the zeroth index element but can be modified.
Field Summary |
Fields inherited from interface com.timeindexing.basic.Position |
END_OF_INDEX, TOO_HIGH, TOO_LOW |
Constructor Summary | |
AbsoluteAdjustablePosition()
Construct a new AbsoluteAdjustablePosition |
|
AbsoluteAdjustablePosition(long value)
Construct a new AbsoluteAdjustablePosition from a given value |
|
AbsoluteAdjustablePosition(Position pos)
Construct a new AbsoluteAdjustablePosition from an exisitng Position |
Method Summary | |
Adjustable |
adjust(long amount)
Adjust the position forwards or backward, given a basic value. |
Adjustable |
adjust(Value off)
Adjust the position forwards or backward, given a value. |
java.lang.Object |
clone()
Clone me |
Position |
position()
Get the position. |
java.lang.String |
toString()
String value of a Position. |
long |
value()
Get the count. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AbsoluteAdjustablePosition()
public AbsoluteAdjustablePosition(long value)
public AbsoluteAdjustablePosition(Position pos)
Method Detail |
public Position position()
position
in interface Position
public long value()
value
in interface Value
public Adjustable adjust(Value off)
adjust
in interface Adjustable
public Adjustable adjust(long amount)
adjust
in interface Adjustable
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface Position
java.lang.CloneNotSupportedException
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |