|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.timeindexing.basic.AbsolutePosition
public class AbsolutePosition
An AbsolutePosition is a value that is an absolute position from the zeroth index element. This is basically a constant.
| Field Summary |
|---|
| Fields inherited from interface com.timeindexing.basic.Position |
|---|
END_OF_INDEX, TOO_HIGH, TOO_LOW |
| Constructor Summary | |
|---|---|
AbsolutePosition(long value)
Construct a new AbsolutePosition from a given value |
|
AbsolutePosition(Position pos)
Construct a new AbsolutePosition from a Position |
|
| Method Summary | |
|---|---|
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 AbsolutePosition(long value)
public AbsolutePosition(Position pos)
| Method Detail |
|---|
public Position position()
position in interface Positionpublic long value()
value in interface Value
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface Positionclone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||