Constructors
makefunction
Creates a new
RefHashMapfrom a HashMap,Effect, orFx.
Derived queries
entriesvariable
Get all entries from the RefHashMap.
filterMapValuesvariable
Filter and map values.
filterValuesvariable
Filter entries creating a Computed value.
keysvariable
Get all keys from the RefHashMap.
mapValuesvariable
Map values to a different type.
reducevariable
Reduce the entries to a single value.
sizevariable
Get the current size of the RefHashMap.
valuesvariable
Get all values from the RefHashMap.
Optional queries
State models
RefHashMapinterface
A RefHashMap is a RefSubject specialized over a HashMap.
State predicates
everyvariable
Check if all entries satisfy a predicate.
hasvariable
Check if a key exists in the RefHashMap.
isEmptyvariable
Check if the RefHashMap is empty.
isNonEmptyvariable
Check if the RefHashMap is non-empty.
somevariable
Check if any entry satisfies a predicate.
State updates
clearvariable
Clear all entries from the RefHashMap.
filtervariable
Filter entries in place.
mapvariable
Map values in place (endomorphic).
modifyvariable
Modify the value at a key if it exists.
modifyAtvariable
Modify the value at a key using an Option-based update function.
removevariable
Remove a key from the RefHashMap.
removeManyvariable
Remove multiple keys from the RefHashMap.
setvariable
Set a key-value pair in the RefHashMap.
setManyvariable
Set multiple key-value pairs in the RefHashMap.
unionvariable
Merge another HashMap into this one.