public class CyclicIteration<K,V> extends Object implements Iterable<Map.Entry<K,V>>
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.构造器和说明 |
---|
CyclicIteration(NavigableMap<K,V> navigablemap,
K startingkey)
Construct an
Iterable object,
so that an Iterator can be created
for iterating the given NavigableMap . |
public CyclicIteration(NavigableMap<K,V> navigablemap, K startingkey)
Iterable
object,
so that an Iterator
can be created
for iterating the given NavigableMap
.
The iteration begins from the starting key exclusively.Copyright © 2009 The Apache Software Foundation