Index | |
MultiDict |
- LUtils at "x-ozlib://anders/strasheela/source/ListUtils.ozf"
proc{New X}
Returns a new empty multi-dimensional dictionary.
fun{Is X}
Tests whether X is a multi-dimensional dictionary.
proc{Put Dict Keys X}
Sets the item in Dict under Keys to X.
fun{Get Dict Keys}
Returns the item in Dict at Keys.
fun{CondGet Dict Keys DefVal}
Returns the item in Dict at Keys if Keys is valid, otherwise DefVal is retured.
NOTE: not thread-save.
fun{CondGetPutting Dict Keys X}
Returns the item in Dict at Keys if Keys is valid, otherwise otherwise put X at Keys and return that.
NOTE: not thread-save.
proc{RemoveAll Dict}
Removes all entries currently in Dict.
fun{Entries Dict}
Returns the list of current entries of Dictionary. An entry is a pair Keys#X, where Keys is a list and X the corresponding item.