Interface UnmodifiableMapCursor<K,V>

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

    Modifier and Type
    Method
    Description
    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

      K getKey()
      The key of the current entry.
      Since:
      19.0
    • getValue

      V getValue()
      The value of the current entry.
      Since:
      19.0