Package org.yamcs.yarch
Class PartitionIntervalIterator
- java.lang.Object
-
- org.yamcs.yarch.PartitionIntervalIterator
-
- All Implemented Interfaces:
Iterator<PartitionManager.Interval>
public class PartitionIntervalIterator extends Object implements Iterator<PartitionManager.Interval>
Iterates over time based intervals of a partition
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
void
jumpToStart(long startInstant)
PartitionManager.Interval
next()
void
remove()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
jumpToStart
public void jumpToStart(long startInstant)
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceIterator<PartitionManager.Interval>
-
next
public PartitionManager.Interval next()
- Specified by:
next
in interfaceIterator<PartitionManager.Interval>
-
remove
public void remove()
- Specified by:
remove
in interfaceIterator<PartitionManager.Interval>
-
-