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 TypeMethodDescriptionbooleanhasNext()voidjumpToStart(long startInstant) next()voidremove()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Method Details
-
jumpToStart
public void jumpToStart(long startInstant) -
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<PartitionManager.Interval>
-
next
- Specified by:
nextin interfaceIterator<PartitionManager.Interval>
-
remove
public void remove()- Specified by:
removein interfaceIterator<PartitionManager.Interval>
-