Class CompactTimeline<Timestamp extends Comparable<Timestamp>>
java.lang.Object
tools.refinery.interpreter.matchers.util.timeline.Timeline<Timestamp>
tools.refinery.interpreter.matchers.util.timeline.CompactTimeline<Timestamp>
A compact timeline may cosist of an arbitrary amount of moments.
It is backed by an
ArrayList.- Since:
- 2.4
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetSigned(int index) getUnsigned(int index) booleanisEmpty()booleanintsize()Methods inherited from class tools.refinery.interpreter.matchers.util.timeline.Timeline
mergeAdditive, mergeMultiplicative, toString
-
Field Details
-
elements
-
-
Method Details
-
getSigned
- Specified by:
getSignedin classTimeline<Timestamp extends Comparable<Timestamp>>
-
getUnsigned
- Specified by:
getUnsignedin classTimeline<Timestamp extends Comparable<Timestamp>>
-
size
public int size()- Specified by:
sizein classTimeline<Timestamp extends Comparable<Timestamp>>
-
isPresentAtInfinity
public boolean isPresentAtInfinity()- Specified by:
isPresentAtInfinityin classTimeline<Timestamp extends Comparable<Timestamp>>
-
asChangeSequence
- Specified by:
asChangeSequencein classTimeline<Timestamp extends Comparable<Timestamp>>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin classTimeline<Timestamp extends Comparable<Timestamp>>
-