Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/froebel/ds.ts>SortedMap#update

A strictly typed utility library.
Latest
method SortedMap.prototype.update
import { SortedMap } from "https://deno.land/x/froebel@v0.23.2/ds.ts";

Update the sort position of the element at key if necessary.

This method should be called to notify the SortedMap that one of the parameters that the compare function depends on has been updated and consequently the sort order must be verified/updated.