Class CyclicIteration<K,V>

java.lang.Object
org.apache.hadoop.hdfs.util.CyclicIteration<K,V>
All Implemented Interfaces:
Iterable<Map.Entry<K,V>>

@Private @Unstable public class CyclicIteration<K,V> extends Object implements Iterable<Map.Entry<K,V>>
Provide an cyclic Iterator for a NavigableMap. The Iterator navigates the entries of the map according to the map's ordering. If the Iterator hits the last entry of the map, it will then continue from the first entry.