Constructor | Description |
---|---|
TreeMapVariable() |
Modifier and Type | Method | Description |
---|---|---|
TreeMap<Interval,V> |
getTreeMap() |
|
TimeIterator<V> |
readBackward(Interval interval,
ExecutorContext context) |
Read the given interval returning a reverse time iterator from the end to start.
|
TimeIterator<V> |
readForward(Interval interval,
ExecutorContext context) |
Read the given interval returning a forward time iterator from start to end.
|
void |
write(Sample<V> sample,
ExecutorContext context) |
Write a sample into the variable.
|
public TimeIterator<V> readForward(Interval interval, ExecutorContext context)
Variable
readForward
in interface Variable<V>
interval
- The interval to readcontext
- Evaluation contextTimeIterator
reading the map forward for the given interval.public TimeIterator<V> readBackward(Interval interval, ExecutorContext context)
Variable
readBackward
in interface Variable<V>
interval
- The interval to readcontext
- Evaluation contextTimeIterator
reading the map backward for the given interval.Copyright © 2019. All rights reserved.