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
Modifier and TypeMethodDescriptionboolean
hasNext()
void
jumpToStart
(long startInstant) 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 Details
-
jumpToStart
public void jumpToStart(long startInstant) -
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<PartitionManager.Interval>
-
next
- Specified by:
next
in interfaceIterator<PartitionManager.Interval>
-
remove
public void remove()- Specified by:
remove
in interfaceIterator<PartitionManager.Interval>
-