Class SingletonTimeline<Timestamp extends Comparable<Timestamp>>
java.lang.Object
tools.refinery.interpreter.matchers.util.timeline.Timeline<Timestamp>
tools.refinery.interpreter.matchers.util.timeline.SingletonTimeline<Timestamp>
A timeline which solely consists of one timestamp value, representing a single insertion. Intuitively, a singleton
timeline always represents a bump which starts at the given timestamp and lasts till plus infinity.
- Since:
- 2.4
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetSigned
(int index) getUnsigned
(int index) boolean
isEmpty()
boolean
int
size()
Methods inherited from class tools.refinery.interpreter.matchers.util.timeline.Timeline
mergeAdditive, mergeMultiplicative, toString
-
Field Details
-
start
-
-
Method Details
-
getSigned
- Specified by:
getSigned
in classTimeline<Timestamp extends Comparable<Timestamp>>
-
getUnsigned
- Specified by:
getUnsigned
in classTimeline<Timestamp extends Comparable<Timestamp>>
-
size
public int size()- Specified by:
size
in classTimeline<Timestamp extends Comparable<Timestamp>>
-
isPresentAtInfinity
public boolean isPresentAtInfinity()- Specified by:
isPresentAtInfinity
in classTimeline<Timestamp extends Comparable<Timestamp>>
-
asChangeSequence
- Specified by:
asChangeSequence
in classTimeline<Timestamp extends Comparable<Timestamp>>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in classTimeline<Timestamp extends Comparable<Timestamp>>
-