YkESet 0.99.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. data/CODE_OF_CONDUCT.md +74 -0
  3. data/Gemfile +7 -0
  4. data/LICENSE +21 -0
  5. data/README.md +68 -0
  6. data/Rakefile +13 -0
  7. data/bin/console +14 -0
  8. data/bin/setup +8 -0
  9. data/docs/Yk/EMMap/Iterator.html +626 -0
  10. data/docs/Yk/EMMap.html +1504 -0
  11. data/docs/Yk/EMSet/Iterator.html +626 -0
  12. data/docs/Yk/EMSet.html +1472 -0
  13. data/docs/Yk/EMap/Iterator.html +626 -0
  14. data/docs/Yk/EMap.html +1730 -0
  15. data/docs/Yk/ESet/Iterator.html +626 -0
  16. data/docs/Yk/ESet.html +1472 -0
  17. data/docs/Yk.html +126 -0
  18. data/docs/_index.html +170 -0
  19. data/docs/class_list.html +51 -0
  20. data/docs/css/common.css +1 -0
  21. data/docs/css/full_list.css +58 -0
  22. data/docs/css/style.css +496 -0
  23. data/docs/file_list.html +51 -0
  24. data/docs/frames.html +17 -0
  25. data/docs/index.html +170 -0
  26. data/docs/js/app.js +314 -0
  27. data/docs/js/full_list.js +216 -0
  28. data/docs/js/jquery.js +4 -0
  29. data/docs/method_list.html +571 -0
  30. data/docs/top-level-namespace.html +110 -0
  31. data/eset.gemspec +29 -0
  32. data/ext/Yk/.ruby-version +1 -0
  33. data/ext/Yk/.yardoc/checksums +1 -0
  34. data/ext/Yk/.yardoc/complete +0 -0
  35. data/ext/Yk/.yardoc/object_types +0 -0
  36. data/ext/Yk/.yardoc/objects/root.dat +0 -0
  37. data/ext/Yk/.yardoc/proxy_types +0 -0
  38. data/ext/Yk/Makefile +267 -0
  39. data/ext/Yk/depend +2 -0
  40. data/ext/Yk/extconf.rb +7 -0
  41. data/ext/Yk/for_yard.rb +192 -0
  42. data/ext/Yk/for_yard_product.rb +397 -0
  43. data/ext/Yk/map_tz +78 -0
  44. data/ext/Yk/set_tz +77 -0
  45. data/ext/Yk/stl_map_tz.h +1026 -0
  46. data/ext/Yk/stl_multimap_tz.h +927 -0
  47. data/ext/Yk/stl_multiset_tz.h +805 -0
  48. data/ext/Yk/stl_set_tz.h +815 -0
  49. data/ext/Yk/stl_set_tz_ruby.cpp +575 -0
  50. data/ext/Yk/stl_tree_tz.h +1865 -0
  51. data/ext/Yk/test_set.rb +115 -0
  52. data/ext/Yk/tree_tz.cc +489 -0
  53. data/ext/Yk/tz_stl_auto.cpp +84 -0
  54. data/lib/eset/version.rb +3 -0
  55. data/lib/eset.rb +7 -0
  56. metadata +101 -0
data/docs/Yk/EMap.html ADDED
@@ -0,0 +1,1730 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: Yk::EMap
8
+
9
+ &mdash; Documentation by YARD 0.9.24
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "Yk::EMap";
19
+ relpath = '../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../_index.html">Index (E)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../Yk.html" title="Yk (module)">Yk</a></span></span>
41
+ &raquo;
42
+ <span class="title">EMap</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: Yk::EMap
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName">Object</span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next">Yk::EMap</li>
78
+
79
+ </ul>
80
+ <a href="#" class="inheritanceTree">show all</a>
81
+
82
+ </dd>
83
+ </dl>
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ <dl>
96
+ <dt>Defined in:</dt>
97
+ <dd>for_yard_product.rb</dd>
98
+ </dl>
99
+
100
+ </div>
101
+
102
+ <h2>Overview</h2><div class="docstring">
103
+ <div class="discussion">
104
+
105
+ <p>EMaps are associative containers with external iterators that store elements formed by a combination of a key and a value, following a specific order. For use, require &#39;Yk/ESet&#39;;include Yk;</p>
106
+
107
+
108
+ </div>
109
+ </div>
110
+ <div class="tags">
111
+
112
+
113
+ </div><h2>Defined Under Namespace</h2>
114
+ <p class="children">
115
+
116
+
117
+
118
+
119
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">Iterator</a></span>
120
+
121
+
122
+ </p>
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+ <h2>
132
+ Class Method Summary
133
+ <small><a href="#" class="summary_toggle">collapse</a></small>
134
+ </h2>
135
+
136
+ <ul class="summary">
137
+
138
+ <li class="public ">
139
+ <span class="summary_signature">
140
+
141
+ <a href="#find-class_method" title="find (class method)">.<strong>find</strong>(first, last, obj = nil) {|obj| ... } &#x21d2; EMap::Iterator </a>
142
+
143
+
144
+
145
+ </span>
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+ <span class="summary_desc"><div class='inline'>
156
+ <p>Searches the container for an element with an object equivalent to the third argument and/or validated with the provided block in a range of elements ([first,last)), &#39;obj&#39; and returns an iterator to it if found, otherwise it returns an iterator to .</p>
157
+ </div></span>
158
+
159
+ </li>
160
+
161
+
162
+ <li class="public ">
163
+ <span class="summary_signature">
164
+
165
+ <a href="#for_each-class_method" title="for_each (class method)">.<strong>for_each</strong>(first, last) {|obj| ... } &#x21d2; Object </a>
166
+
167
+
168
+
169
+ </span>
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+ <span class="summary_desc"><div class='inline'>
180
+ <p>Applies given block to each of the elements in the range [first,last).</p>
181
+ </div></span>
182
+
183
+ </li>
184
+
185
+
186
+ </ul>
187
+
188
+ <h2>
189
+ Instance Method Summary
190
+ <small><a href="#" class="summary_toggle">collapse</a></small>
191
+ </h2>
192
+
193
+ <ul class="summary">
194
+
195
+ <li class="public ">
196
+ <span class="summary_signature">
197
+
198
+ <a href="#begin-instance_method" title="#begin (instance method)">#<strong>begin</strong> &#x21d2; EMap::Iterator </a>
199
+
200
+
201
+
202
+ </span>
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+ <span class="summary_desc"><div class='inline'>
213
+ <p>Return iterator to beginning.</p>
214
+ </div></span>
215
+
216
+ </li>
217
+
218
+
219
+ <li class="public ">
220
+ <span class="summary_signature">
221
+
222
+ <a href="#clear-instance_method" title="#clear (instance method)">#<strong>clear</strong> &#x21d2; Object </a>
223
+
224
+
225
+
226
+ </span>
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+ <span class="summary_desc"><div class='inline'>
237
+ <p>Clear content.</p>
238
+ </div></span>
239
+
240
+ </li>
241
+
242
+
243
+ <li class="public ">
244
+ <span class="summary_signature">
245
+
246
+ <a href="#end-instance_method" title="#end (instance method)">#<strong>end</strong> &#x21d2; EMap::Iterator </a>
247
+
248
+
249
+
250
+ </span>
251
+
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+
260
+ <span class="summary_desc"><div class='inline'>
261
+ <p>Return iterator to end.</p>
262
+ </div></span>
263
+
264
+ </li>
265
+
266
+
267
+ <li class="public ">
268
+ <span class="summary_signature">
269
+
270
+ <a href="#erase-instance_method" title="#erase (instance method)">#<strong>erase</strong>(first, last) &#x21d2; Object </a>
271
+
272
+
273
+
274
+ </span>
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+ <span class="summary_desc"><div class='inline'>
285
+ <p>Removes from the set container a range of elements ([first,last)).</p>
286
+ </div></span>
287
+
288
+ </li>
289
+
290
+
291
+ <li class="public ">
292
+ <span class="summary_signature">
293
+
294
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> {|key| ... } &#x21d2; EMap </a>
295
+
296
+
297
+
298
+ </span>
299
+
300
+
301
+ <span class="note title constructor">constructor</span>
302
+
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+ <span class="summary_desc"><div class='inline'>
311
+ <p>initlialize with a block which returns comparing basis like Enumerable::sort_by, however using &lt;, not &lt;=&gt;.</p>
312
+ </div></span>
313
+
314
+ </li>
315
+
316
+
317
+ <li class="public ">
318
+ <span class="summary_signature">
319
+
320
+ <a href="#insert-instance_method" title="#insert (instance method)">#<strong>insert</strong>(*args) &#x21d2; Object </a>
321
+
322
+
323
+
324
+ </span>
325
+
326
+
327
+
328
+
329
+
330
+
331
+
332
+
333
+
334
+ <span class="summary_desc"><div class='inline'></div></span>
335
+
336
+ </li>
337
+
338
+
339
+ <li class="public ">
340
+ <span class="summary_signature">
341
+
342
+ <a href="#insert_or_assign-instance_method" title="#insert_or_assign (instance method)">#<strong>insert_or_assign</strong>(*args) &#x21d2; Object </a>
343
+
344
+
345
+
346
+ </span>
347
+
348
+
349
+
350
+
351
+
352
+
353
+
354
+
355
+
356
+ <span class="summary_desc"><div class='inline'></div></span>
357
+
358
+ </li>
359
+
360
+
361
+ <li class="public ">
362
+ <span class="summary_signature">
363
+
364
+ <a href="#lower_bound-instance_method" title="#lower_bound (instance method)">#<strong>lower_bound</strong> &#x21d2; EMap::Iterator </a>
365
+
366
+
367
+
368
+ </span>
369
+
370
+
371
+
372
+
373
+
374
+
375
+
376
+
377
+
378
+ <span class="summary_desc"><div class='inline'>
379
+ <p>Return iterator to lower bound.</p>
380
+ </div></span>
381
+
382
+ </li>
383
+
384
+
385
+ <li class="public ">
386
+ <span class="summary_signature">
387
+
388
+ <a href="#size-instance_method" title="#size (instance method)">#<strong>size</strong> &#x21d2; Integer </a>
389
+
390
+
391
+
392
+ </span>
393
+
394
+
395
+
396
+
397
+
398
+
399
+
400
+
401
+
402
+ <span class="summary_desc"><div class='inline'>
403
+ <p>Return container size.</p>
404
+ </div></span>
405
+
406
+ </li>
407
+
408
+
409
+ <li class="public ">
410
+ <span class="summary_signature">
411
+
412
+ <a href="#upper_bound-instance_method" title="#upper_bound (instance method)">#<strong>upper_bound</strong> &#x21d2; EMap::Iterator </a>
413
+
414
+
415
+
416
+ </span>
417
+
418
+
419
+
420
+
421
+
422
+
423
+
424
+
425
+
426
+ <span class="summary_desc"><div class='inline'>
427
+ <p>Return iterator to upper bound.</p>
428
+ </div></span>
429
+
430
+ </li>
431
+
432
+
433
+ </ul>
434
+
435
+
436
+ <div id="constructor_details" class="method_details_list">
437
+ <h2>Constructor Details</h2>
438
+
439
+ <div class="method_details first">
440
+ <h3 class="signature first" id="initialize-instance_method">
441
+
442
+ #<strong>initialize</strong> {|key| ... } &#x21d2; <tt><span class='object_link'><a href="" title="Yk::EMap (class)">EMap</a></span></tt>
443
+
444
+
445
+
446
+
447
+
448
+ </h3><div class="docstring">
449
+ <div class="discussion">
450
+
451
+ <p>initlialize with a block which returns comparing basis like Enumerable::sort_by, however using &lt;, not &lt;=&gt;.</p>
452
+
453
+
454
+ </div>
455
+ </div>
456
+ <div class="tags">
457
+
458
+ <p class="tag_title">Yield Parameters:</p>
459
+ <ul class="yieldparam">
460
+
461
+ <li>
462
+
463
+ <span class='name'>key</span>
464
+
465
+
466
+ <span class='type'>(<tt>Object</tt>)</span>
467
+
468
+
469
+
470
+ &mdash;
471
+ <div class='inline'>
472
+ <p>object pointed by an element.</p>
473
+ </div>
474
+
475
+ </li>
476
+
477
+ </ul>
478
+ <p class="tag_title">Yield Returns:</p>
479
+ <ul class="yieldreturn">
480
+
481
+ <li>
482
+
483
+
484
+ <span class='type'>(<tt>Object</tt>)</span>
485
+
486
+
487
+
488
+ &mdash;
489
+ <div class='inline'>
490
+ <p>should be comparable with method, &#39;&lt;&#39;.</p>
491
+ </div>
492
+
493
+ </li>
494
+
495
+ </ul>
496
+
497
+ </div><table class="source_code">
498
+ <tr>
499
+ <td>
500
+ <pre class="lines">
501
+
502
+
503
+ 196
504
+ 197</pre>
505
+ </td>
506
+ <td>
507
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 196</span>
508
+
509
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
510
+ <span class='kw'>end</span></pre>
511
+ </td>
512
+ </tr>
513
+ </table>
514
+ </div>
515
+
516
+ </div>
517
+
518
+
519
+ <div id="class_method_details" class="method_details_list">
520
+ <h2>Class Method Details</h2>
521
+
522
+
523
+ <div class="method_details first">
524
+ <h3 class="signature first" id="find-class_method">
525
+
526
+ .<strong>find</strong>(first, last, obj = nil) {|obj| ... } &#x21d2; <tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt>
527
+
528
+
529
+
530
+
531
+
532
+ </h3><div class="docstring">
533
+ <div class="discussion">
534
+
535
+ <p>Searches the container for an element with an object equivalent to the third argument and/or validated with the provided block in a range of elements ([first,last)), &#39;obj&#39; and returns an iterator to it if found, otherwise it returns an iterator to .</p>
536
+
537
+
538
+ </div>
539
+ </div>
540
+ <div class="tags">
541
+ <p class="tag_title">Parameters:</p>
542
+ <ul class="param">
543
+
544
+ <li>
545
+
546
+ <span class='name'>first</span>
547
+
548
+
549
+ <span class='type'>(<tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt>)</span>
550
+
551
+
552
+
553
+ &mdash;
554
+ <div class='inline'>
555
+ <p>first iterator.</p>
556
+ </div>
557
+
558
+ </li>
559
+
560
+ <li>
561
+
562
+ <span class='name'>last</span>
563
+
564
+
565
+ <span class='type'>(<tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt>)</span>
566
+
567
+
568
+
569
+ &mdash;
570
+ <div class='inline'>
571
+ <p>last iterator.</p>
572
+ </div>
573
+
574
+ </li>
575
+
576
+ <li>
577
+
578
+ <span class='name'>obj</span>
579
+
580
+
581
+ <span class='type'></span>
582
+
583
+
584
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
585
+
586
+
587
+ &mdash;
588
+ <div class='inline'>
589
+ <p>Object to search equivalency.</p>
590
+ </div>
591
+
592
+ </li>
593
+
594
+ </ul>
595
+
596
+ <p class="tag_title">Yield Parameters:</p>
597
+ <ul class="yieldparam">
598
+
599
+ <li>
600
+
601
+ <span class='name'>obj</span>
602
+
603
+
604
+ <span class='type'>(<tt>Object</tt>)</span>
605
+
606
+
607
+
608
+ &mdash;
609
+ <div class='inline'>
610
+ <p>object argument pointed by an element passed for validation with the block</p>
611
+ </div>
612
+
613
+ </li>
614
+
615
+ </ul>
616
+ <p class="tag_title">Yield Returns:</p>
617
+ <ul class="yieldreturn">
618
+
619
+ <li>
620
+
621
+
622
+ <span class='type'>(<tt>Object</tt>)</span>
623
+
624
+
625
+
626
+ &mdash;
627
+ <div class='inline'>
628
+ <p>validation result from the block</p>
629
+ </div>
630
+
631
+ </li>
632
+
633
+ </ul>
634
+ <p class="tag_title">Returns:</p>
635
+ <ul class="return">
636
+
637
+ <li>
638
+
639
+
640
+ <span class='type'>(<tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt>)</span>
641
+
642
+
643
+
644
+ &mdash;
645
+ <div class='inline'>
646
+ <p>iterator pointing the element with equivalent object.</p>
647
+ </div>
648
+
649
+ </li>
650
+
651
+ </ul>
652
+ <p class="tag_title">Raises:</p>
653
+ <ul class="raise">
654
+
655
+ <li>
656
+
657
+
658
+ <span class='type'></span>
659
+
660
+
661
+
662
+
663
+ <div class='inline'>
664
+ <p>ArgumentError raised when an argument is not a compatible iterator.</p>
665
+ </div>
666
+
667
+ </li>
668
+
669
+ <li>
670
+
671
+
672
+ <span class='type'></span>
673
+
674
+
675
+
676
+
677
+ <div class='inline'>
678
+ <p>ArgumentError raised when first and last iterators are not from the same container.</p>
679
+ </div>
680
+
681
+ </li>
682
+
683
+ <li>
684
+
685
+
686
+ <span class='type'></span>
687
+
688
+
689
+
690
+
691
+ <div class='inline'>
692
+ <p>ArgumentError raised when neither parameter, obj nor block is provided.</p>
693
+ </div>
694
+
695
+ </li>
696
+
697
+ <li>
698
+
699
+
700
+ <span class='type'></span>
701
+
702
+
703
+
704
+
705
+ <div class='inline'>
706
+ <p>RangeError raised when dereferencing end iterator</p>
707
+ </div>
708
+
709
+ </li>
710
+
711
+ </ul>
712
+
713
+ </div><table class="source_code">
714
+ <tr>
715
+ <td>
716
+ <pre class="lines">
717
+
718
+
719
+ 262
720
+ 263</pre>
721
+ </td>
722
+ <td>
723
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 262</span>
724
+
725
+ <span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Yk::EMap (class)">EMap</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span> <span class='id identifier rubyid_first'>first</span><span class='comma'>,</span> <span class='id identifier rubyid_last'>last</span><span class='comma'>,</span> <span class='id identifier rubyid_obj'>obj</span> <span class='op'>=</span> <span class='kw'>nil</span>
726
+ <span class='kw'>end</span></pre>
727
+ </td>
728
+ </tr>
729
+ </table>
730
+ </div>
731
+
732
+ <div class="method_details ">
733
+ <h3 class="signature " id="for_each-class_method">
734
+
735
+ .<strong>for_each</strong>(first, last) {|obj| ... } &#x21d2; <tt>Object</tt>
736
+
737
+
738
+
739
+
740
+
741
+ </h3><div class="docstring">
742
+ <div class="discussion">
743
+
744
+ <p>Applies given block to each of the elements in the range [first,last).</p>
745
+
746
+
747
+ </div>
748
+ </div>
749
+ <div class="tags">
750
+ <p class="tag_title">Parameters:</p>
751
+ <ul class="param">
752
+
753
+ <li>
754
+
755
+ <span class='name'>first</span>
756
+
757
+
758
+ <span class='type'>(<tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt>)</span>
759
+
760
+
761
+
762
+ &mdash;
763
+ <div class='inline'>
764
+ <p>first iterator.</p>
765
+ </div>
766
+
767
+ </li>
768
+
769
+ <li>
770
+
771
+ <span class='name'>last</span>
772
+
773
+
774
+ <span class='type'>(<tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt>)</span>
775
+
776
+
777
+
778
+ &mdash;
779
+ <div class='inline'>
780
+ <p>last iterator.</p>
781
+ </div>
782
+
783
+ </li>
784
+
785
+ </ul>
786
+
787
+ <p class="tag_title">Yield Parameters:</p>
788
+ <ul class="yieldparam">
789
+
790
+ <li>
791
+
792
+ <span class='name'>obj</span>
793
+
794
+
795
+ <span class='type'>(<tt>Object</tt>)</span>
796
+
797
+
798
+
799
+ &mdash;
800
+ <div class='inline'>
801
+ <p>object in an element</p>
802
+ </div>
803
+
804
+ </li>
805
+
806
+ </ul>
807
+ <p class="tag_title">Raises:</p>
808
+ <ul class="raise">
809
+
810
+ <li>
811
+
812
+
813
+ <span class='type'></span>
814
+
815
+
816
+
817
+
818
+ <div class='inline'>
819
+ <p>ArgumentError raised when an argument is not a compatible iterator.</p>
820
+ </div>
821
+
822
+ </li>
823
+
824
+ <li>
825
+
826
+
827
+ <span class='type'></span>
828
+
829
+
830
+
831
+
832
+ <div class='inline'>
833
+ <p>ArgumentError raised when first and last iterators are not from the same container.</p>
834
+ </div>
835
+
836
+ </li>
837
+
838
+ </ul>
839
+
840
+ </div><table class="source_code">
841
+ <tr>
842
+ <td>
843
+ <pre class="lines">
844
+
845
+
846
+ 270
847
+ 271</pre>
848
+ </td>
849
+ <td>
850
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 270</span>
851
+
852
+ <span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Yk::EMap (class)">EMap</a></span></span><span class='period'>.</span><span class='id identifier rubyid_for_each'>for_each</span> <span class='id identifier rubyid_first'>first</span><span class='comma'>,</span> <span class='id identifier rubyid_last'>last</span>
853
+ <span class='kw'>end</span></pre>
854
+ </td>
855
+ </tr>
856
+ </table>
857
+ </div>
858
+
859
+ </div>
860
+
861
+ <div id="instance_method_details" class="method_details_list">
862
+ <h2>Instance Method Details</h2>
863
+
864
+
865
+ <div class="method_details first">
866
+ <h3 class="signature first" id="begin-instance_method">
867
+
868
+ #<strong>begin</strong> &#x21d2; <tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt>
869
+
870
+
871
+
872
+
873
+
874
+ </h3><div class="docstring">
875
+ <div class="discussion">
876
+
877
+ <p>Return iterator to beginning</p>
878
+
879
+
880
+ </div>
881
+ </div>
882
+ <div class="tags">
883
+
884
+ <p class="tag_title">Returns:</p>
885
+ <ul class="return">
886
+
887
+ <li>
888
+
889
+
890
+ <span class='type'>(<tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt>)</span>
891
+
892
+
893
+
894
+ &mdash;
895
+ <div class='inline'>
896
+ <p>Return iterator to beginning</p>
897
+ </div>
898
+
899
+ </li>
900
+
901
+ </ul>
902
+
903
+ </div><table class="source_code">
904
+ <tr>
905
+ <td>
906
+ <pre class="lines">
907
+
908
+
909
+ 199
910
+ 200</pre>
911
+ </td>
912
+ <td>
913
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 199</span>
914
+
915
+ <span class='kw'>def</span> <span class='kw'>begin</span>
916
+ <span class='kw'>end</span></pre>
917
+ </td>
918
+ </tr>
919
+ </table>
920
+ </div>
921
+
922
+ <div class="method_details ">
923
+ <h3 class="signature " id="clear-instance_method">
924
+
925
+ #<strong>clear</strong> &#x21d2; <tt>Object</tt>
926
+
927
+
928
+
929
+
930
+
931
+ </h3><div class="docstring">
932
+ <div class="discussion">
933
+
934
+ <p>Clear content</p>
935
+
936
+
937
+ </div>
938
+ </div>
939
+ <div class="tags">
940
+
941
+
942
+ </div><table class="source_code">
943
+ <tr>
944
+ <td>
945
+ <pre class="lines">
946
+
947
+
948
+ 208
949
+ 209</pre>
950
+ </td>
951
+ <td>
952
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 208</span>
953
+
954
+ <span class='kw'>def</span> <span class='id identifier rubyid_clear'>clear</span>
955
+ <span class='kw'>end</span></pre>
956
+ </td>
957
+ </tr>
958
+ </table>
959
+ </div>
960
+
961
+ <div class="method_details ">
962
+ <h3 class="signature " id="end-instance_method">
963
+
964
+ #<strong>end</strong> &#x21d2; <tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt>
965
+
966
+
967
+
968
+
969
+
970
+ </h3><div class="docstring">
971
+ <div class="discussion">
972
+
973
+ <p>Return iterator to end</p>
974
+
975
+
976
+ </div>
977
+ </div>
978
+ <div class="tags">
979
+
980
+ <p class="tag_title">Returns:</p>
981
+ <ul class="return">
982
+
983
+ <li>
984
+
985
+
986
+ <span class='type'>(<tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt>)</span>
987
+
988
+
989
+
990
+ &mdash;
991
+ <div class='inline'>
992
+ <p>Return iterator to end</p>
993
+ </div>
994
+
995
+ </li>
996
+
997
+ </ul>
998
+
999
+ </div><table class="source_code">
1000
+ <tr>
1001
+ <td>
1002
+ <pre class="lines">
1003
+
1004
+
1005
+ 202
1006
+ 203</pre>
1007
+ </td>
1008
+ <td>
1009
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 202</span>
1010
+
1011
+ <span class='kw'>def</span> <span class='kw'>end</span>
1012
+ <span class='kw'>end</span></pre>
1013
+ </td>
1014
+ </tr>
1015
+ </table>
1016
+ </div>
1017
+
1018
+ <div class="method_details ">
1019
+ <h3 class="signature " id="erase-instance_method">
1020
+
1021
+ #<strong>erase</strong>(first, last) &#x21d2; <tt>Object</tt>
1022
+
1023
+
1024
+
1025
+
1026
+
1027
+ </h3><div class="docstring">
1028
+ <div class="discussion">
1029
+
1030
+ <p>Removes from the set container a range of elements ([first,last)). Iterators specifying a range within the set container to be removed: [first,last). i.e., the range includes all the elements between first and last, including the element pointed by first but not the one pointed by last.</p>
1031
+
1032
+
1033
+ </div>
1034
+ </div>
1035
+ <div class="tags">
1036
+ <p class="tag_title">Parameters:</p>
1037
+ <ul class="param">
1038
+
1039
+ <li>
1040
+
1041
+ <span class='name'>first</span>
1042
+
1043
+
1044
+ <span class='type'>(<tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt>)</span>
1045
+
1046
+
1047
+
1048
+ &mdash;
1049
+ <div class='inline'>
1050
+ <p>first iterator.</p>
1051
+ </div>
1052
+
1053
+ </li>
1054
+
1055
+ <li>
1056
+
1057
+ <span class='name'>last</span>
1058
+
1059
+
1060
+ <span class='type'>(<tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt>)</span>
1061
+
1062
+
1063
+
1064
+ &mdash;
1065
+ <div class='inline'>
1066
+ <p>last iterator.</p>
1067
+ </div>
1068
+
1069
+ </li>
1070
+
1071
+ </ul>
1072
+
1073
+ <p class="tag_title">Raises:</p>
1074
+ <ul class="raise">
1075
+
1076
+ <li>
1077
+
1078
+
1079
+ <span class='type'></span>
1080
+
1081
+
1082
+
1083
+
1084
+ <div class='inline'>
1085
+ <p>ArgumentError raised when an argument is not a compatible iterator.</p>
1086
+ </div>
1087
+
1088
+ </li>
1089
+
1090
+ <li>
1091
+
1092
+
1093
+ <span class='type'></span>
1094
+
1095
+
1096
+
1097
+
1098
+ <div class='inline'>
1099
+ <p>ArgumentError raised when first and last iterators are not from the same container.</p>
1100
+ </div>
1101
+
1102
+ </li>
1103
+
1104
+ <li>
1105
+
1106
+
1107
+ <span class='type'></span>
1108
+
1109
+
1110
+
1111
+
1112
+ <div class='inline'>
1113
+ <p>RangeError raised when erasing end iterator</p>
1114
+ </div>
1115
+
1116
+ </li>
1117
+
1118
+ </ul>
1119
+
1120
+ </div><table class="source_code">
1121
+ <tr>
1122
+ <td>
1123
+ <pre class="lines">
1124
+
1125
+
1126
+ 249
1127
+ 250</pre>
1128
+ </td>
1129
+ <td>
1130
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 249</span>
1131
+
1132
+ <span class='kw'>def</span> <span class='id identifier rubyid_erase'>erase</span> <span class='id identifier rubyid_first'>first</span><span class='comma'>,</span> <span class='id identifier rubyid_last'>last</span>
1133
+ <span class='kw'>end</span></pre>
1134
+ </td>
1135
+ </tr>
1136
+ </table>
1137
+ </div>
1138
+
1139
+ <div class="method_details ">
1140
+ <h3 class="signature " id="insert-instance_method">
1141
+
1142
+
1143
+ <span class="overload">#<strong>insert</strong>(position, key, value) &#x21d2; <tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt> </span>
1144
+
1145
+ <span class="overload">#<strong>insert</strong>(key, value) &#x21d2; <tt>Array</tt> </span>
1146
+
1147
+
1148
+
1149
+
1150
+
1151
+
1152
+ </h3><div class="docstring">
1153
+ <div class="discussion">
1154
+
1155
+
1156
+ </div>
1157
+ </div>
1158
+ <div class="tags">
1159
+
1160
+ <p class="tag_title">Overloads:</p>
1161
+ <ul class="overload">
1162
+
1163
+
1164
+ <li class="overload_item">
1165
+ <span class="signature">#<strong>insert</strong>(position, key, value) &#x21d2; <tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt> </span>
1166
+ <div class="docstring">
1167
+ <div class="discussion">
1168
+
1169
+ <p>Insert element with an object using a hint</p>
1170
+
1171
+
1172
+ </div>
1173
+ </div>
1174
+ <div class="tags">
1175
+ <p class="tag_title">Parameters:</p>
1176
+ <ul class="param">
1177
+
1178
+ <li>
1179
+
1180
+ <span class='name'>position</span>
1181
+
1182
+
1183
+ <span class='type'>(<tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt>)</span>
1184
+
1185
+
1186
+
1187
+ &mdash;
1188
+ <div class='inline'>
1189
+ <p>Hint for the position where the element can be inserted.</p>
1190
+ </div>
1191
+
1192
+ </li>
1193
+
1194
+ <li>
1195
+
1196
+ <span class='name'>key</span>
1197
+
1198
+
1199
+ <span class='type'>(<tt>Object</tt>)</span>
1200
+
1201
+
1202
+
1203
+ &mdash;
1204
+ <div class='inline'>
1205
+ <p>key object to be pointed by the inserted elements.</p>
1206
+ </div>
1207
+
1208
+ </li>
1209
+
1210
+ <li>
1211
+
1212
+ <span class='name'>value</span>
1213
+
1214
+
1215
+ <span class='type'>(<tt>Object</tt>)</span>
1216
+
1217
+
1218
+
1219
+ &mdash;
1220
+ <div class='inline'>
1221
+ <p>value object to be pointed by the inserted elements.</p>
1222
+ </div>
1223
+
1224
+ </li>
1225
+
1226
+ </ul>
1227
+
1228
+ <p class="tag_title">Returns:</p>
1229
+ <ul class="return">
1230
+
1231
+ <li>
1232
+
1233
+
1234
+ <span class='type'>(<tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt>)</span>
1235
+
1236
+
1237
+
1238
+ &mdash;
1239
+ <div class='inline'>
1240
+ <p>An iterator pointing to either the newly inserted element or to the element that already had its equivalent in the container.</p>
1241
+ </div>
1242
+
1243
+ </li>
1244
+
1245
+ </ul>
1246
+
1247
+ </div>
1248
+ </li>
1249
+
1250
+
1251
+ <li class="overload_item">
1252
+ <span class="signature">#<strong>insert</strong>(key, value) &#x21d2; <tt>Array</tt> </span>
1253
+ <div class="docstring">
1254
+ <div class="discussion">
1255
+
1256
+ <p>Insert element with an object</p>
1257
+
1258
+
1259
+ </div>
1260
+ </div>
1261
+ <div class="tags">
1262
+ <p class="tag_title">Parameters:</p>
1263
+ <ul class="param">
1264
+
1265
+ <li>
1266
+
1267
+ <span class='name'>key</span>
1268
+
1269
+
1270
+ <span class='type'>(<tt>Object</tt>)</span>
1271
+
1272
+
1273
+
1274
+ &mdash;
1275
+ <div class='inline'>
1276
+ <p>key object to be pointed by the inserted elements.</p>
1277
+ </div>
1278
+
1279
+ </li>
1280
+
1281
+ <li>
1282
+
1283
+ <span class='name'>value</span>
1284
+
1285
+
1286
+ <span class='type'>(<tt>Object</tt>)</span>
1287
+
1288
+
1289
+
1290
+ &mdash;
1291
+ <div class='inline'>
1292
+ <p>value object to be pointed by the inserted elements.</p>
1293
+ </div>
1294
+
1295
+ </li>
1296
+
1297
+ </ul>
1298
+
1299
+ <p class="tag_title">Returns:</p>
1300
+ <ul class="return">
1301
+
1302
+ <li>
1303
+
1304
+
1305
+ <span class='type'>(<tt>Array</tt>)</span>
1306
+
1307
+
1308
+
1309
+ &mdash;
1310
+ <div class='inline'>
1311
+ <p>An array, with its first member set to an iterator pointing to either the newly inserted element or to the equivalent element already in the set. The second member in the array is set to true if a new element was inserted or false if an equivalent element already existed.</p>
1312
+ </div>
1313
+
1314
+ </li>
1315
+
1316
+ </ul>
1317
+
1318
+ </div>
1319
+ </li>
1320
+
1321
+ </ul>
1322
+
1323
+
1324
+ </div><table class="source_code">
1325
+ <tr>
1326
+ <td>
1327
+ <pre class="lines">
1328
+
1329
+
1330
+ 227
1331
+ 228</pre>
1332
+ </td>
1333
+ <td>
1334
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 227</span>
1335
+
1336
+ <span class='kw'>def</span> <span class='id identifier rubyid_insert'>insert</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span>
1337
+ <span class='kw'>end</span></pre>
1338
+ </td>
1339
+ </tr>
1340
+ </table>
1341
+ </div>
1342
+
1343
+ <div class="method_details ">
1344
+ <h3 class="signature " id="insert_or_assign-instance_method">
1345
+
1346
+
1347
+ <span class="overload">#<strong>insert_or_assign</strong>(k, v) &#x21d2; <tt>Array</tt> </span>
1348
+
1349
+ <span class="overload">#<strong>insert_or_assign</strong>(position, k, v) &#x21d2; <tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt> </span>
1350
+
1351
+
1352
+
1353
+
1354
+
1355
+
1356
+ </h3><div class="docstring">
1357
+ <div class="discussion">
1358
+
1359
+
1360
+ </div>
1361
+ </div>
1362
+ <div class="tags">
1363
+
1364
+ <p class="tag_title">Overloads:</p>
1365
+ <ul class="overload">
1366
+
1367
+
1368
+ <li class="overload_item">
1369
+ <span class="signature">#<strong>insert_or_assign</strong>(k, v) &#x21d2; <tt>Array</tt> </span>
1370
+ <div class="docstring">
1371
+ <div class="discussion">
1372
+
1373
+ <p>If a key equivalent to &#39;k&#39; already exists in the container, assigns &#39;v&#39; to value corresponding to the key. If the key does not exist, inserts the new value as if by insert.</p>
1374
+
1375
+
1376
+ </div>
1377
+ </div>
1378
+ <div class="tags">
1379
+ <p class="tag_title">Parameters:</p>
1380
+ <ul class="param">
1381
+
1382
+ <li>
1383
+
1384
+ <span class='name'>k</span>
1385
+
1386
+
1387
+ <span class='type'>(<tt>Object</tt>)</span>
1388
+
1389
+
1390
+
1391
+ &mdash;
1392
+ <div class='inline'>
1393
+ <p>key object</p>
1394
+ </div>
1395
+
1396
+ </li>
1397
+
1398
+ <li>
1399
+
1400
+ <span class='name'>v</span>
1401
+
1402
+
1403
+ <span class='type'>(<tt>Object</tt>)</span>
1404
+
1405
+
1406
+
1407
+ &mdash;
1408
+ <div class='inline'>
1409
+ <p>value object</p>
1410
+ </div>
1411
+
1412
+ </li>
1413
+
1414
+ </ul>
1415
+
1416
+ <p class="tag_title">Returns:</p>
1417
+ <ul class="return">
1418
+
1419
+ <li>
1420
+
1421
+
1422
+ <span class='type'>(<tt>Array</tt>)</span>
1423
+
1424
+
1425
+
1426
+ &mdash;
1427
+ <div class='inline'>
1428
+ <p>An array, with its first member set to an iterator pointing to either the newly inserted element or to the equivalent element already in the set. The second member in the array is set to true if a new element was inserted or false if an equivalent element already existed.</p>
1429
+ </div>
1430
+
1431
+ </li>
1432
+
1433
+ </ul>
1434
+
1435
+ </div>
1436
+ </li>
1437
+
1438
+
1439
+ <li class="overload_item">
1440
+ <span class="signature">#<strong>insert_or_assign</strong>(position, k, v) &#x21d2; <tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt> </span>
1441
+ <div class="docstring">
1442
+ <div class="discussion">
1443
+
1444
+ <p>Insert element with key and value using a hint</p>
1445
+
1446
+
1447
+ </div>
1448
+ </div>
1449
+ <div class="tags">
1450
+ <p class="tag_title">Parameters:</p>
1451
+ <ul class="param">
1452
+
1453
+ <li>
1454
+
1455
+ <span class='name'>position</span>
1456
+
1457
+
1458
+ <span class='type'>(<tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt>)</span>
1459
+
1460
+
1461
+
1462
+ &mdash;
1463
+ <div class='inline'>
1464
+ <p>Hint for the position where the element can be inserted.</p>
1465
+ </div>
1466
+
1467
+ </li>
1468
+
1469
+ <li>
1470
+
1471
+ <span class='name'>k</span>
1472
+
1473
+
1474
+ <span class='type'>(<tt>Object</tt>)</span>
1475
+
1476
+
1477
+
1478
+ &mdash;
1479
+ <div class='inline'>
1480
+ <p>key object</p>
1481
+ </div>
1482
+
1483
+ </li>
1484
+
1485
+ <li>
1486
+
1487
+ <span class='name'>v</span>
1488
+
1489
+
1490
+ <span class='type'>(<tt>Object</tt>)</span>
1491
+
1492
+
1493
+
1494
+ &mdash;
1495
+ <div class='inline'>
1496
+ <p>value object</p>
1497
+ </div>
1498
+
1499
+ </li>
1500
+
1501
+ </ul>
1502
+
1503
+ <p class="tag_title">Returns:</p>
1504
+ <ul class="return">
1505
+
1506
+ <li>
1507
+
1508
+
1509
+ <span class='type'>(<tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt>)</span>
1510
+
1511
+
1512
+
1513
+ &mdash;
1514
+ <div class='inline'>
1515
+ <p>Iterator pointing at the element that was inserted or updated</p>
1516
+ </div>
1517
+
1518
+ </li>
1519
+
1520
+ </ul>
1521
+
1522
+ </div>
1523
+ </li>
1524
+
1525
+ </ul>
1526
+
1527
+
1528
+ </div><table class="source_code">
1529
+ <tr>
1530
+ <td>
1531
+ <pre class="lines">
1532
+
1533
+
1534
+ 240
1535
+ 241</pre>
1536
+ </td>
1537
+ <td>
1538
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 240</span>
1539
+
1540
+ <span class='kw'>def</span> <span class='id identifier rubyid_insert_or_assign'>insert_or_assign</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span>
1541
+ <span class='kw'>end</span></pre>
1542
+ </td>
1543
+ </tr>
1544
+ </table>
1545
+ </div>
1546
+
1547
+ <div class="method_details ">
1548
+ <h3 class="signature " id="lower_bound-instance_method">
1549
+
1550
+ #<strong>lower_bound</strong> &#x21d2; <tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt>
1551
+
1552
+
1553
+
1554
+
1555
+
1556
+ </h3><div class="docstring">
1557
+ <div class="discussion">
1558
+
1559
+ <p>Return iterator to lower bound</p>
1560
+
1561
+
1562
+ </div>
1563
+ </div>
1564
+ <div class="tags">
1565
+
1566
+ <p class="tag_title">Returns:</p>
1567
+ <ul class="return">
1568
+
1569
+ <li>
1570
+
1571
+
1572
+ <span class='type'>(<tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt>)</span>
1573
+
1574
+
1575
+
1576
+ &mdash;
1577
+ <div class='inline'>
1578
+ <p>Return iterator to lower bound</p>
1579
+ </div>
1580
+
1581
+ </li>
1582
+
1583
+ </ul>
1584
+
1585
+ </div><table class="source_code">
1586
+ <tr>
1587
+ <td>
1588
+ <pre class="lines">
1589
+
1590
+
1591
+ 214
1592
+ 215</pre>
1593
+ </td>
1594
+ <td>
1595
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 214</span>
1596
+
1597
+ <span class='kw'>def</span> <span class='id identifier rubyid_lower_bound'>lower_bound</span>
1598
+ <span class='kw'>end</span></pre>
1599
+ </td>
1600
+ </tr>
1601
+ </table>
1602
+ </div>
1603
+
1604
+ <div class="method_details ">
1605
+ <h3 class="signature " id="size-instance_method">
1606
+
1607
+ #<strong>size</strong> &#x21d2; <tt>Integer</tt>
1608
+
1609
+
1610
+
1611
+
1612
+
1613
+ </h3><div class="docstring">
1614
+ <div class="discussion">
1615
+
1616
+ <p>Return container size</p>
1617
+
1618
+
1619
+ </div>
1620
+ </div>
1621
+ <div class="tags">
1622
+
1623
+ <p class="tag_title">Returns:</p>
1624
+ <ul class="return">
1625
+
1626
+ <li>
1627
+
1628
+
1629
+ <span class='type'>(<tt>Integer</tt>)</span>
1630
+
1631
+
1632
+
1633
+ &mdash;
1634
+ <div class='inline'>
1635
+ <p>Return container size</p>
1636
+ </div>
1637
+
1638
+ </li>
1639
+
1640
+ </ul>
1641
+
1642
+ </div><table class="source_code">
1643
+ <tr>
1644
+ <td>
1645
+ <pre class="lines">
1646
+
1647
+
1648
+ 205
1649
+ 206</pre>
1650
+ </td>
1651
+ <td>
1652
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 205</span>
1653
+
1654
+ <span class='kw'>def</span> <span class='id identifier rubyid_size'>size</span>
1655
+ <span class='kw'>end</span></pre>
1656
+ </td>
1657
+ </tr>
1658
+ </table>
1659
+ </div>
1660
+
1661
+ <div class="method_details ">
1662
+ <h3 class="signature " id="upper_bound-instance_method">
1663
+
1664
+ #<strong>upper_bound</strong> &#x21d2; <tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt>
1665
+
1666
+
1667
+
1668
+
1669
+
1670
+ </h3><div class="docstring">
1671
+ <div class="discussion">
1672
+
1673
+ <p>Return iterator to upper bound</p>
1674
+
1675
+
1676
+ </div>
1677
+ </div>
1678
+ <div class="tags">
1679
+
1680
+ <p class="tag_title">Returns:</p>
1681
+ <ul class="return">
1682
+
1683
+ <li>
1684
+
1685
+
1686
+ <span class='type'>(<tt><span class='object_link'><a href="EMap/Iterator.html" title="Yk::EMap::Iterator (class)">EMap::Iterator</a></span></tt>)</span>
1687
+
1688
+
1689
+
1690
+ &mdash;
1691
+ <div class='inline'>
1692
+ <p>Return iterator to upper bound</p>
1693
+ </div>
1694
+
1695
+ </li>
1696
+
1697
+ </ul>
1698
+
1699
+ </div><table class="source_code">
1700
+ <tr>
1701
+ <td>
1702
+ <pre class="lines">
1703
+
1704
+
1705
+ 211
1706
+ 212</pre>
1707
+ </td>
1708
+ <td>
1709
+ <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 211</span>
1710
+
1711
+ <span class='kw'>def</span> <span class='id identifier rubyid_upper_bound'>upper_bound</span>
1712
+ <span class='kw'>end</span></pre>
1713
+ </td>
1714
+ </tr>
1715
+ </table>
1716
+ </div>
1717
+
1718
+ </div>
1719
+
1720
+ </div>
1721
+
1722
+ <div id="footer">
1723
+ Generated on Thu Feb 20 14:33:52 2020 by
1724
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1725
+ 0.9.24 (ruby-2.7.0).
1726
+ </div>
1727
+
1728
+ </div>
1729
+ </body>
1730
+ </html>