- All Known Subinterfaces:
MapCursor<K,V>
public interface UnmodifiableMapCursor<K,V>
Cursor to iterate over a map without changing its contents.
- Since:
- 19.0
-
Method Summary
boolean
Advances to the next entry.
The key of the current entry.
The value of the current entry.
-
Method Details
-
advance
boolean advance()
Advances to the next entry.
- Returns:
true
if a next entry exists, false
if there is no next entry.
- Since:
- 19.0
-
getKey
The key of the current entry.
- Since:
- 19.0
-
getValue
The value of the current entry.
- Since:
- 19.0