1Ephemeron.K2(3) OCaml library Ephemeron.K2(3)
2
3
4
6 Ephemeron.K2 - Ephemerons with two keys.
7
9 Module Ephemeron.K2
10
12 Module K2
13 : sig end
14
15
16 Ephemerons with two keys.
17
18
19
20
21
22 type ('k1, 'k2, 'd) t
23
24
25 an ephemeron with two keys
26
27
28
29 val create : unit -> ('k1, 'k2, 'd) t
30
31 Same as Ephemeron.K1.create
32
33
34
35
36 val get_key1 : ('k1, 'k2, 'd) t -> 'k1 option
37
38 Same as Ephemeron.K1.get_key
39
40
41
42
43 val get_key1_copy : ('k1, 'k2, 'd) t -> 'k1 option
44
45 Same as Ephemeron.K1.get_key_copy
46
47
48
49
50 val set_key1 : ('k1, 'k2, 'd) t -> 'k1 -> unit
51
52 Same as Ephemeron.K1.set_key
53
54
55
56
57 val unset_key1 : ('k1, 'k2, 'd) t -> unit
58
59 Same as Ephemeron.K1.unset_key
60
61
62
63
64 val check_key1 : ('k1, 'k2, 'd) t -> bool
65
66 Same as Ephemeron.K1.check_key
67
68
69
70
71 val get_key2 : ('k1, 'k2, 'd) t -> 'k2 option
72
73 Same as Ephemeron.K1.get_key
74
75
76
77
78 val get_key2_copy : ('k1, 'k2, 'd) t -> 'k2 option
79
80 Same as Ephemeron.K1.get_key_copy
81
82
83
84
85 val set_key2 : ('k1, 'k2, 'd) t -> 'k2 -> unit
86
87 Same as Ephemeron.K1.set_key
88
89
90
91
92 val unset_key2 : ('k1, 'k2, 'd) t -> unit
93
94 Same as Ephemeron.K1.unset_key
95
96
97
98
99 val check_key2 : ('k1, 'k2, 'd) t -> bool
100
101 Same as Ephemeron.K1.check_key
102
103
104
105
106 val blit_key1 : ('k1, 'a, 'b) t -> ('k1, 'c, 'd) t -> unit
107
108 Same as Ephemeron.K1.blit_key
109
110
111
112
113 val blit_key2 : ('a, 'k2, 'b) t -> ('c, 'k2, 'd) t -> unit
114
115 Same as Ephemeron.K1.blit_key
116
117
118
119
120 val blit_key12 : ('k1, 'k2, 'a) t -> ('k1, 'k2, 'b) t -> unit
121
122 Same as Ephemeron.K1.blit_key
123
124
125
126
127 val get_data : ('k1, 'k2, 'd) t -> 'd option
128
129 Same as Ephemeron.K1.get_data
130
131
132
133
134 val get_data_copy : ('k1, 'k2, 'd) t -> 'd option
135
136 Same as Ephemeron.K1.get_data_copy
137
138
139
140
141 val set_data : ('k1, 'k2, 'd) t -> 'd -> unit
142
143 Same as Ephemeron.K1.set_data
144
145
146
147
148 val unset_data : ('k1, 'k2, 'd) t -> unit
149
150 Same as Ephemeron.K1.unset_data
151
152
153
154
155 val check_data : ('k1, 'k2, 'd) t -> bool
156
157 Same as Ephemeron.K1.check_data
158
159
160
161
162 val blit_data : ('k1, 'k2, 'd) t -> ('k1, 'k2, 'd) t -> unit
163
164 Same as Ephemeron.K1.blit_data
165
166
167
168
169 val make : 'k1 -> 'k2 -> 'd -> ('k1, 'k2, 'd) t
170
171 Same as Ephemeron.K1.make
172
173
174
175
176 val query : ('k1, 'k2, 'd) t -> 'k1 -> 'k2 -> 'd option
177
178 Same as Ephemeron.K1.query
179
180
181
182 module Make : functor (H1 : Hashtbl.HashedType) (H2 : Hashtbl.Hashedâ
183 Type) -> sig end
184
185
186 Functor building an implementation of a weak hash table
187
188
189 module MakeSeeded : functor (H1 : Hashtbl.SeededHashedType) (H2 :
190 Hashtbl.SeededHashedType) -> sig end
191
192
193 Functor building an implementation of a weak hash table. The seed is
194 similar to the one of Hashtbl.MakeSeeded .
195
196
197 module Bucket : sig end
198
199
200
201
202
203
204
205OCamldoc 2022-07-22 Ephemeron.K2(3)