tango ~master (2021-12-14T19:14:08.8989381)
Dub
Repo
SortedMap.replacePair
tango
util
container
SortedMap
SortedMap
Time complexity: O(log n)
class
SortedMap
(K, V, alias Reap = Container.reap, alias Heap = Container.DefaultCollect)
final
bool
replacePair
(
K
key
,
V
oldElement
,
V
newElement
)
Meta
Source
See Implementation
tango
util
container
SortedMap
SortedMap
aliases
Type
constructors
this
destructors
~this
functions
add
cache
check
clear
comparator
contains
containsKey
containsPair
firstKey
get
isEmpty
iterator
keyOf
lastKey
nearbyKey
opApply
opIn_r
opIndex
opIndexAssign
remove
removeKey
replace
replacePair
reset
take
toArray
properties
dup
size
variables
tree
Time complexity: O(log n)