1Ephemeron.Kn(3) OCaml library Ephemeron.Kn(3)
2
3
4
6 Ephemeron.Kn - Ephemerons with arbitrary number of keys of the same
7 type.
8
10 Module Ephemeron.Kn
11
13 Module Kn
14 : sig end
15
16
17 Ephemerons with arbitrary number of keys of the same type.
18
19
20
21
22
23 type ('k, 'd) t
24
25
26 an ephemeron with an arbitrary number of keys of the same type
27
28
29
30 val create : int -> ('k, 'd) t
31
32 Same as Ephemeron.K1.create
33
34
35
36
37 val get_key : ('k, 'd) t -> int -> 'k option
38
39 Same as Ephemeron.K1.get_key
40
41
42
43
44 val get_key_copy : ('k, 'd) t -> int -> 'k option
45
46 Same as Ephemeron.K1.get_key_copy
47
48
49
50
51 val set_key : ('k, 'd) t -> int -> 'k -> unit
52
53 Same as Ephemeron.K1.set_key
54
55
56
57
58 val unset_key : ('k, 'd) t -> int -> unit
59
60 Same as Ephemeron.K1.unset_key
61
62
63
64
65 val check_key : ('k, 'd) t -> int -> bool
66
67 Same as Ephemeron.K1.check_key
68
69
70
71
72 val blit_key : ('k, 'a) t -> int -> ('k, 'b) t -> int -> int -> unit
73
74 Same as Ephemeron.K1.blit_key
75
76
77
78
79 val get_data : ('k, 'd) t -> 'd option
80
81 Same as Ephemeron.K1.get_data
82
83
84
85
86 val get_data_copy : ('k, 'd) t -> 'd option
87
88 Same as Ephemeron.K1.get_data_copy
89
90
91
92
93 val set_data : ('k, 'd) t -> 'd -> unit
94
95 Same as Ephemeron.K1.set_data
96
97
98
99
100 val unset_data : ('k, 'd) t -> unit
101
102 Same as Ephemeron.K1.unset_data
103
104
105
106
107 val check_data : ('k, 'd) t -> bool
108
109 Same as Ephemeron.K1.check_data
110
111
112
113
114 val blit_data : ('k, 'd) t -> ('k, 'd) t -> unit
115
116 Same as Ephemeron.K1.blit_data
117
118
119
120
121 val make : 'k array -> 'd -> ('k, 'd) t
122
123 Same as Ephemeron.K1.make
124
125
126
127
128 val query : ('k, 'd) t -> 'k array -> 'd option
129
130 Same as Ephemeron.K1.query
131
132
133
134 module Make : functor (H : Hashtbl.HashedType) -> sig end
135
136
137 Functor building an implementation of a weak hash table
138
139
140 module MakeSeeded : functor (H : Hashtbl.SeededHashedType) -> sig end
141
142
143 Functor building an implementation of a weak hash table. The seed is
144 similar to the one of Hashtbl.MakeSeeded .
145
146
147 module Bucket : sig end
148
149
150
151
152
153
154
155OCamldoc 2023-01-23 Ephemeron.Kn(3)