|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.timeindexing.basic.AbsoluteInterval
com.timeindexing.basic.MidPointInterval
A mid-point interval is an interval where the arguments are a mid-point plus 2 offsets from that mid-point. The interval can be resolved into two positions into an Index. Neither of the specifiers can be adjusted. *
Field Summary | |
static int |
ABSOLUTETIMESTAMP_COUNT_COUNT
A Timestamp to 2 Count specifiers. |
static int |
ABSOLUTETIMESTAMP_RELATIVETIMESTAMP_RELATIVETIMESTAMP
A Timestamp to 2 Timestamp specifiers. |
static int |
POSITION_COUNT_COUNT
A Position plus 2 Count specifiers. |
static int |
POSITION_RELATIVETIMESTAMP_RELATIVETIMESTAMP
A Position plus 2 Timestamp specifiers. |
Constructor Summary | |
MidPointInterval(AbsoluteTimestamp t0,
Count c1,
Count c2)
Construct an MidPointInterval from a Timestamp and 2 Counts. |
|
MidPointInterval(AbsoluteTimestamp t0,
RelativeTimestamp rt1,
RelativeTimestamp rt2)
Construct an MidPointInterval from a Timestamp and 2 RelativeTimestamps. |
|
MidPointInterval(Position p0,
Count c1,
Count c2)
Construct an MidPointInterval from a Position and 2 Counts. |
|
MidPointInterval(Position p0,
RelativeTimestamp rt1,
RelativeTimestamp rt2)
Construct an MidPointInterval from a Timestamp and 2 RelativeTimestamps. |
Method Summary | |
protected void |
checkNulls(Value v1,
Value v2,
Value v3)
This used to check for nulls in the constructor. |
java.lang.Object |
clone()
Clone me |
AbsoluteInterval |
resolve(Index index,
IndexTimestampSelector selector,
Lifetime lifetime)
Resolve this interval w.r.t a specified index. |
java.lang.String |
toString()
String version of interval. |
Methods inherited from class com.timeindexing.basic.AbsoluteInterval |
end, isResolved, start |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.timeindexing.basic.Interval |
end, start |
Field Detail |
public static final int ABSOLUTETIMESTAMP_COUNT_COUNT
public static final int ABSOLUTETIMESTAMP_RELATIVETIMESTAMP_RELATIVETIMESTAMP
public static final int POSITION_COUNT_COUNT
public static final int POSITION_RELATIVETIMESTAMP_RELATIVETIMESTAMP
Constructor Detail |
public MidPointInterval(AbsoluteTimestamp t0, Count c1, Count c2)
public MidPointInterval(AbsoluteTimestamp t0, RelativeTimestamp rt1, RelativeTimestamp rt2)
public MidPointInterval(Position p0, Count c1, Count c2)
public MidPointInterval(Position p0, RelativeTimestamp rt1, RelativeTimestamp rt2)
Method Detail |
protected void checkNulls(Value v1, Value v2, Value v3)
public AbsoluteInterval resolve(Index index, IndexTimestampSelector selector, Lifetime lifetime)
resolve
in class AbsoluteInterval
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |