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