remove :: T a b -> a -> <Proc> (Maybe b)
clear :: T a b -> <Proc> ()
+@inline
+getOrCreate :: T a b -> (a -> <e> b) -> a -> <Proc,e> b
+getOrCreate m f k = match get m k with
+ Just v -> v
+ Nothing -> do
+ v = f k
+ put m k v
+ v
+
@inline
iter :: (a -> b -> <e> ()) -> T a b -> <e,Proc> ()
iter f m = MSet.iter (\entry -> f (keyOf entry) (valueOf entry)) (entrySet m)
@JavaName "<init>"
createC :: Integer -> <Proc> T a b
+ @JavaName "<init>"
+ clone :: T a b -> <Proc> T a b
+
fromEntryList :: [(a,b)] -> <Proc> T a b
fromEntryList l = do
result = createC (Prelude.length l)