@@ -205,8 +205,6 @@ OrderedRobinDict{String,Int64} with 4 entries:
205
205
"d" => 4
206
206
```
207
207
"""
208
- get! (collection, key, default)
209
-
210
208
function get! (h:: OrderedRobinDict{K,V} , key0, default) where {K,V}
211
209
index = get (h. dict, key0, - 2 )
212
210
index > 0 && return h. vals[index]
@@ -229,8 +227,6 @@ get!(dict, key) do
229
227
end
230
228
```
231
229
"""
232
- get! (f:: Function , collection, key)
233
-
234
230
function get! (default:: Base.Callable , h:: OrderedRobinDict{K,V} , key0) where {K,V}
235
231
index = get (h. dict, key0, - 2 )
236
232
index > 0 && return @inbounds h. vals[index]
@@ -261,8 +257,6 @@ julia> get(d, "c", 3)
261
257
3
262
258
```
263
259
"""
264
- get (collection, key, default)
265
-
266
260
function get (h:: OrderedRobinDict{K,V} , key, default) where {K,V}
267
261
index = get (h. dict, key, - 1 )
268
262
return (index < 0 ) ? default : @inbounds h. vals[index]:: V
@@ -282,8 +276,6 @@ get(dict, key) do
282
276
end
283
277
```
284
278
"""
285
- get (:: Function , collection, key)
286
-
287
279
function get (default:: Base.Callable , h:: OrderedRobinDict{K,V} , key) where {K,V}
288
280
index = get (h. dict, key, - 1 )
289
281
return (index < 0 ) ? default () : @inbounds h. vals[index]:: V
@@ -382,8 +374,6 @@ julia> pop!(d, "e", 4)
382
374
4
383
375
```
384
376
"""
385
- pop! (collection, key, default)
386
-
387
377
function pop! (h:: OrderedRobinDict , key, default)
388
378
index = get (h. dict, key, - 1 )
389
379
(index > 0 ) ? _pop (h, index) : default
0 commit comments