50b533ba23e701c5f6f787b7053989c38cebbfb8
[bpt/coccinelle.git] / commons / oassoc.mli
1
2 class virtual ['a, 'b] oassoc :
3 object ('o)
4 inherit ['a * 'b] Ocollection.ocollection
5
6 method virtual assoc : 'a -> 'b
7 method virtual delkey : 'a -> 'o
8
9 method find : 'a -> 'b
10
11 method haskey : 'a -> bool
12 method replkey : 'a * 'b -> 'o
13
14 method apply : 'a -> ('b -> 'b) -> 'o
15 method apply_with_default : 'a -> ('b -> 'b) -> (unit -> 'b) -> 'o
16
17 end