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