EntryIterator

public iterator class so efficient methods are exposed to users

Constructors

Link copied to clipboard
constructor(allowModify: Boolean)

Functions

Link copied to clipboard
fun currentValue(): V?

returns the value associated with the last key returned

Link copied to clipboard
open operator override fun hasNext(): Boolean
Link copied to clipboard
open operator override fun next(): MutableMap.MutableEntry<Any, V>

use nextCharArray() + currentValue() for better efficiency.

Link copied to clipboard

gets the next key... do not modify the returned char[]

Link copied to clipboard

gets the next key as a newly created String object

Link copied to clipboard
open override fun remove()
Link copied to clipboard
fun setValue(value: V?): V?

sets the value associated with the last key returned