docs/Yk/EMMap.html in YkESet-0.99.7 vs docs/Yk/EMMap.html in YkESet-0.99.9

- old
+ new

@@ -193,10 +193,32 @@ <ul class="summary"> <li class="public "> <span class="summary_signature"> + <a href="#add-instance_method" title="#add (instance method)">#<strong>add</strong>(*args) &#x21d2; Object </a> + + + + </span> + + + + + + + + + + <span class="summary_desc"><div class='inline'></div></span> + +</li> + + + <li class="public "> + <span class="summary_signature"> + <a href="#begin-instance_method" title="#begin (instance method)">#<strong>begin</strong> &#x21d2; EMMap::Iterator </a> </span> @@ -498,15 +520,15 @@ <tr> <td> <pre class="lines"> -362 -363</pre> +445 +446</pre> </td> <td> - <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 362</span> + <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 445</span> <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='kw'>end</span></pre> </td> </tr> @@ -701,10 +723,24 @@ <div class='inline'> +<p>ArgumentError raised when using argument(s) with erased position</p> +</div> + + </li> + + <li> + + + <span class='type'></span> + + + + + <div class='inline'> <p>RangeError raised when dereferencing end iterator</p> </div> </li> @@ -714,15 +750,15 @@ <tr> <td> <pre class="lines"> -425 -426</pre> +525 +526</pre> </td> <td> - <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 425</span> + <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 525</span> <span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Yk::EMMap (class)">EMMap</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> <span class='kw'>end</span></pre> </td> </tr> @@ -833,23 +869,37 @@ <p>ArgumentError raised when first and last iterators are not from the same container.</p> </div> </li> + <li> + + + <span class='type'></span> + + + + + <div class='inline'> +<p>ArgumentError raised when using argument(s) with erased position</p> +</div> + + </li> + </ul> </div><table class="source_code"> <tr> <td> <pre class="lines"> -433 -434</pre> +534 +535</pre> </td> <td> - <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 433</span> + <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 534</span> <span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Yk::EMMap (class)">EMMap</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> <span class='kw'>end</span></pre> </td> </tr> @@ -861,12 +911,216 @@ <div id="instance_method_details" class="method_details_list"> <h2>Instance Method Details</h2> <div class="method_details first"> - <h3 class="signature first" id="begin-instance_method"> + <h3 class="signature first" id="add-instance_method"> + + <span class="overload">#<strong>add</strong>(position, key, value) &#x21d2; <tt>True</tt> </span> + + <span class="overload">#<strong>add</strong>(key, value) &#x21d2; <tt>True</tt> </span> + + + + + + +</h3><div class="docstring"> + <div class="discussion"> + + + </div> +</div> +<div class="tags"> + + <p class="tag_title">Overloads:</p> + <ul class="overload"> + + + <li class="overload_item"> + <span class="signature">#<strong>add</strong>(position, key, value) &#x21d2; <tt>True</tt> </span> + <div class="docstring"> + <div class="discussion"> + +<p>Insert element with an object using a hint and return true if a new element was inserted or false if an equivalent element already existed. Do not return iterator object. More efficient if you do not need inserted position (removed by GC).</p> + + + </div> +</div> +<div class="tags"> + <p class="tag_title">Parameters:</p> +<ul class="param"> + + <li> + + <span class='name'>position</span> + + + <span class='type'>(<tt><span class='object_link'><a href="EMMap/Iterator.html" title="Yk::EMMap::Iterator (class)">EMMap::Iterator</a></span></tt>)</span> + + + + &mdash; + <div class='inline'> +<p>Hint for the position where the element can be inserted.</p> +</div> + + </li> + + <li> + + <span class='name'>key</span> + + + <span class='type'>(<tt>Object</tt>)</span> + + + + &mdash; + <div class='inline'> +<p>key object to be pointed by the inserted elements.</p> +</div> + + </li> + + <li> + + <span class='name'>value</span> + + + <span class='type'>(<tt>Object</tt>)</span> + + + + &mdash; + <div class='inline'> +<p>value object to be pointed by the inserted elements.</p> +</div> + + </li> + +</ul> + +<p class="tag_title">Returns:</p> +<ul class="return"> + + <li> + + + <span class='type'>(<tt>True</tt>)</span> + + + + &mdash; + <div class='inline'> +<p>Always return true.</p> +</div> + + </li> + +</ul> + +</div> + </li> + + + <li class="overload_item"> + <span class="signature">#<strong>add</strong>(key, value) &#x21d2; <tt>True</tt> </span> + <div class="docstring"> + <div class="discussion"> + +<p>Insert element with an object and return true if a new element was inserted or false if an equivalent element already existed. Do not return iterator object. More efficient if you do not need inserted position (removed by GC).</p> + + + </div> +</div> +<div class="tags"> + <p class="tag_title">Parameters:</p> +<ul class="param"> + + <li> + + <span class='name'>key</span> + + + <span class='type'>(<tt>Object</tt>)</span> + + + + &mdash; + <div class='inline'> +<p>key object to be pointed by the inserted elements.</p> +</div> + + </li> + + <li> + + <span class='name'>value</span> + + + <span class='type'>(<tt>Object</tt>)</span> + + + + &mdash; + <div class='inline'> +<p>value object to be pointed by the inserted elements.</p> +</div> + + </li> + +</ul> + +<p class="tag_title">Returns:</p> +<ul class="return"> + + <li> + + + <span class='type'>(<tt>True</tt>)</span> + + + + &mdash; + <div class='inline'> +<p>Always return true.</p> +</div> + + </li> + +</ul> + +</div> + </li> + + </ul> + + +</div><table class="source_code"> + <tr> + <td> + <pre class="lines"> + + +489 +490</pre> + </td> + <td> + <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 489</span> + +<span class='kw'>def</span> <span class='id identifier rubyid_add'>add</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span> +<span class='kw'>end</span></pre> + </td> + </tr> +</table> +</div> + + <div class="method_details "> + <h3 class="signature " id="begin-instance_method"> + #<strong>begin</strong> &#x21d2; <tt><span class='object_link'><a href="EMMap/Iterator.html" title="Yk::EMMap::Iterator (class)">EMMap::Iterator</a></span></tt> @@ -904,15 +1158,15 @@ <tr> <td> <pre class="lines"> -365 -366</pre> +448 +449</pre> </td> <td> - <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 365</span> + <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 448</span> <span class='kw'>def</span> <span class='kw'>begin</span> <span class='kw'>end</span></pre> </td> </tr> @@ -943,15 +1197,15 @@ <tr> <td> <pre class="lines"> -374 -375</pre> +457 +458</pre> </td> <td> - <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 374</span> + <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 457</span> <span class='kw'>def</span> <span class='id identifier rubyid_clear'>clear</span> <span class='kw'>end</span></pre> </td> </tr> @@ -1000,15 +1254,15 @@ <tr> <td> <pre class="lines"> -368 -369</pre> +451 +452</pre> </td> <td> - <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 368</span> + <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 451</span> <span class='kw'>def</span> <span class='kw'>end</span> <span class='kw'>end</span></pre> </td> </tr> @@ -1043,11 +1297,11 @@ <li class="overload_item"> <span class="signature">#<strong>erase</strong>(position) &#x21d2; <tt>Object</tt> </span> <div class="docstring"> <div class="discussion"> -<p>Removes an element</p> +<p>Erase an element from the container</p> </div> </div> <div class="tags"> @@ -1061,10 +1315,15 @@ <span class='type'>(<tt><span class='object_link'><a href="EMMap/Iterator.html" title="Yk::EMMap::Iterator (class)">EMMap::Iterator</a></span></tt>)</span> + &mdash; + <div class='inline'> +<p>to erase</p> +</div> + </li> </ul> <p class="tag_title">Raises:</p> @@ -1082,10 +1341,24 @@ <p>ArgumentError raised when an argument is not a compatible iterator.</p> </div> </li> + <li> + + + <span class='type'></span> + + + + + <div class='inline'> +<p>ArgumentError raised when using argument with erased position</p> +</div> + + </li> + </ul> </div> </li> @@ -1093,11 +1366,11 @@ <li class="overload_item"> <span class="signature">#<strong>erase</strong>(frist, last) &#x21d2; <tt>Object</tt> </span> <div class="docstring"> <div class="discussion"> -<p>Removes a range of elements ([first,last)) from the container. 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> +<p>Erase a range of elements ([first,last)) from the container. 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> </div> </div> <div class="tags"> @@ -1181,10 +1454,24 @@ <p>RangeError raised when erasing end iterator</p> </div> </li> + <li> + + + <span class='type'></span> + + + + + <div class='inline'> +<p>ArgumentError raised when use argument with erased position</p> +</div> + + </li> + </ul> </div> </li> @@ -1195,15 +1482,15 @@ <tr> <td> <pre class="lines"> -407 -408</pre> +505 +506</pre> </td> <td> - <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 407</span> + <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 505</span> <span class='kw'>def</span> <span class='id identifier rubyid_erase'>erase</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span> <span class='kw'>end</span></pre> </td> </tr> @@ -1265,22 +1552,40 @@ </div> </li> </ul> +<p class="tag_title">Raises:</p> +<ul class="raise"> + + <li> + + + <span class='type'></span> + + + + + <div class='inline'> +<p>ArgumentError raised when using argument(s) with erased position</p> +</div> + + </li> + +</ul> </div><table class="source_code"> <tr> <td> <pre class="lines"> -412 -413</pre> +511 +512</pre> </td> <td> - <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 412</span> + <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 511</span> <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span> <span class='id identifier rubyid_arg'>arg</span> <span class='kw'>end</span></pre> </td> </tr> @@ -1315,11 +1620,11 @@ <li class="overload_item"> <span class="signature">#<strong>insert</strong>(position, key, value) &#x21d2; <tt><span class='object_link'><a href="EMMap/Iterator.html" title="Yk::EMMap::Iterator (class)">EMMap::Iterator</a></span></tt> </span> <div class="docstring"> <div class="discussion"> -<p>Insert element with an object using a hint</p> +<p>Insert element with an object using a hint and return new iterator object</p> </div> </div> <div class="tags"> @@ -1402,11 +1707,11 @@ <li class="overload_item"> <span class="signature">#<strong>insert</strong>(key, value) &#x21d2; <tt><span class='object_link'><a href="EMMap/Iterator.html" title="Yk::EMMap::Iterator (class)">EMMap::Iterator</a></span></tt> </span> <div class="docstring"> <div class="discussion"> -<p>Insert element with an object</p> +<p>Insert element and return new iterator object</p> </div> </div> <div class="tags"> @@ -1476,15 +1781,15 @@ <tr> <td> <pre class="lines"> -393 -394</pre> +476 +477</pre> </td> <td> - <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 393</span> + <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 476</span> <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> <span class='kw'>end</span></pre> </td> </tr> @@ -1533,15 +1838,15 @@ <tr> <td> <pre class="lines"> -380 -381</pre> +463 +464</pre> </td> <td> - <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 380</span> + <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 463</span> <span class='kw'>def</span> <span class='id identifier rubyid_lower_bound'>lower_bound</span> <span class='kw'>end</span></pre> </td> </tr> @@ -1590,15 +1895,15 @@ <tr> <td> <pre class="lines"> -371 -372</pre> +454 +455</pre> </td> <td> - <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 371</span> + <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 454</span> <span class='kw'>def</span> <span class='id identifier rubyid_size'>size</span> <span class='kw'>end</span></pre> </td> </tr> @@ -1647,15 +1952,15 @@ <tr> <td> <pre class="lines"> -377 -378</pre> +460 +461</pre> </td> <td> - <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 377</span> + <pre class="code"><span class="info file"># File 'for_yard_product.rb', line 460</span> <span class='kw'>def</span> <span class='id identifier rubyid_upper_bound'>upper_bound</span> <span class='kw'>end</span></pre> </td> </tr> @@ -1665,10 +1970,10 @@ </div> </div> <div id="footer"> - Generated on Fri Feb 21 22:53:06 2020 by + Generated on Sun Feb 23 08:31:41 2020 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> 0.9.24 (ruby-2.7.0). </div> </div> \ No newline at end of file