|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.timeindexing.basic.Offset
public class Offset
An Offset is a value that is an absolute offset into a stream. This is basically a constant.
| Field Summary |
|---|
| Fields inherited from interface com.timeindexing.basic.Position |
|---|
END_OF_INDEX, TOO_HIGH, TOO_LOW |
| Constructor Summary | |
|---|---|
Offset(long value)
Construct a new Offset from a given value |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone me |
Position |
position()
Get the position. |
java.lang.String |
toString()
String value of a Offset. |
long |
value()
Get the count. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Offset(long value)
| Method Detail |
|---|
public long value()
value in interface Valuepublic Position position()
position in interface Position
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 | ||||||||