set

inline operator fun <V> PrefixTree<Int, V>.set(key: String, value: V): V?

Convenience setter for using string-keyed prefix trees.

Return

The value previously associated with key, if any.

Parameters

key

The search key.

value

The payload to associate with the key.