|
||||||||||
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 better interval is an interval where the arguments are a mid-point plus 2 values from that mid-point. Neither of the specifiers can be adjusted.
Constructor Summary | |
MidPointInterval(AbsolutePosition p0,
Value v1,
Value v2)
Construct an MidPointInterval from a Position and 2 Values |
|
MidPointInterval(AbsoluteTimestamp t0,
Value v1,
Value v2)
Construct an MidPointInterval from a Timestamp and 2 Values |
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. |
protected Position |
resolveValue(Index index,
TimestampMapping posMid,
Value value,
IndexTimestampSelector selector,
Lifetime lifetime)
Resolve a Value w.r.t a Position. |
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 |
Constructor Detail |
public MidPointInterval(AbsoluteTimestamp t0, Value v1, Value v2)
public MidPointInterval(AbsolutePosition p0, Value v1, Value v2)
Method Detail |
public AbsoluteInterval resolve(Index index, IndexTimestampSelector selector, Lifetime lifetime)
resolve
in class AbsoluteInterval
protected Position resolveValue(Index index, TimestampMapping posMid, Value value, IndexTimestampSelector selector, Lifetime lifetime)
protected void checkNulls(Value v1, Value v2, Value v3)
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 |