java.lang.Iterable<java.util.Map.Entry<K,V>>@Private
@Unstable
public class CyclicIteration<K,V>
extends java.lang.Object
implements java.lang.Iterable<java.util.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.| Constructor | Description |
|---|---|
CyclicIteration(java.util.NavigableMap<K,V> navigablemap,
K startingkey) |
Construct an
Iterable object,
so that an Iterator can be created
for iterating the given NavigableMap. |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Iterator<java.util.Map.Entry<K,V>> |
iterator() |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.