com.timeindexing.basic
Class AbsoluteInterval

java.lang.Object
  extended bycom.timeindexing.basic.AbsoluteInterval
All Implemented Interfaces:
Interval
Direct Known Subclasses:
EndPointInterval, MidPointInterval

public abstract class AbsoluteInterval
extends java.lang.Object
implements Interval

An absolute interval is an interval where all the arguments can be resolved into two positions into an Index, and none of the specifiers can be adjusted.

TODO: finish implementations.


Constructor Summary
AbsoluteInterval()
           
 
Method Summary
 Value end()
          Get the interval end.
 boolean isResolved()
          Has this interval been resolved to two Positions.
abstract  AbsoluteInterval resolve(Index index, IndexTimestampSelector selector, Lifetime lifetime)
          Resolve this interval w.r.t a specified index.
 Value start()
          Get the interval start.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbsoluteInterval

public AbsoluteInterval()
Method Detail

start

public Value start()
Get the interval start.

Specified by:
start in interface Interval

end

public Value end()
Get the interval end.

Specified by:
end in interface Interval

isResolved

public boolean isResolved()
Has this interval been resolved to two Positions. This needs to be done before an Interval can be used.


resolve

public abstract AbsoluteInterval resolve(Index index,
                                         IndexTimestampSelector selector,
                                         Lifetime lifetime)
Resolve this interval w.r.t a specified index. Returns a clone with resolved positions.