html/classes/Eymiha/Histogram.html in eymiha_util-1.0.0 vs html/classes/Eymiha/Histogram.html in eymiha_util-1.0.1
- old
+ new
@@ -91,19 +91,19 @@
<div id="method-list">
<h3 class="section-bar">Methods</h3>
<div class="name-list">
- <a href="#M000023"><</a>
- <a href="#M000022"><=</a>
- <a href="#M000024">==</a>
- <a href="#M000021">></a>
- <a href="#M000020">>=</a>
- <a href="#M000018">add</a>
- <a href="#M000017">count</a>
- <a href="#M000019">key_count</a>
- <a href="#M000016">new</a>
+ <a href="#M000042"><</a>
+ <a href="#M000041"><=</a>
+ <a href="#M000043">==</a>
+ <a href="#M000040">></a>
+ <a href="#M000039">>=</a>
+ <a href="#M000037">add</a>
+ <a href="#M000036">count</a>
+ <a href="#M000038">key_count</a>
+ <a href="#M000035">new</a>
</div>
</div>
</div>
@@ -121,151 +121,151 @@
<!-- if method_list -->
<div id="methods">
<h3 class="section-bar">Public Class methods</h3>
- <div id="method-M000016" class="method-detail">
- <a name="M000016"></a>
+ <div id="method-M000035" class="method-detail">
+ <a name="M000035"></a>
<div class="method-heading">
- <a href="Histogram.src/M000016.html" target="Code" class="method-signature"
- onclick="popupCode('Histogram.src/M000016.html');return false;">
+ <a href="Histogram.src/M000035.html" target="Code" class="method-signature"
+ onclick="popupCode('Histogram.src/M000035.html');return false;">
<span class="method-name">new</span><span class="method-args">(key=nil,number=1)</span>
</a>
</div>
<div class="method-description">
<p>
Creates and returns an instance. If arguments are given, they are passed to
-the <a href="Histogram.html#M000018">add</a> method to initialize the <a
-href="Histogram.html#M000016">new</a> instance.
+the <a href="Histogram.html#M000037">add</a> method to initialize the <a
+href="Histogram.html#M000035">new</a> instance.
</p>
</div>
</div>
<h3 class="section-bar">Public Instance methods</h3>
- <div id="method-M000023" class="method-detail">
- <a name="M000023"></a>
+ <div id="method-M000042" class="method-detail">
+ <a name="M000042"></a>
<div class="method-heading">
- <a href="Histogram.src/M000023.html" target="Code" class="method-signature"
- onclick="popupCode('Histogram.src/M000023.html');return false;">
+ <a href="Histogram.src/M000042.html" target="Code" class="method-signature"
+ onclick="popupCode('Histogram.src/M000042.html');return false;">
<span class="method-name"><</span><span class="method-args">(count)</span>
</a>
</div>
<div class="method-description">
<p>
-Returns a <a href="Histogram.html#M000016">new</a> <a
+Returns a <a href="Histogram.html#M000035">new</a> <a
href="Histogram.html">Histogram</a> containing the elements with occurences
-less than the given <a href="Histogram.html#M000017">count</a>.
+less than the given <a href="Histogram.html#M000036">count</a>.
</p>
</div>
</div>
- <div id="method-M000022" class="method-detail">
- <a name="M000022"></a>
+ <div id="method-M000041" class="method-detail">
+ <a name="M000041"></a>
<div class="method-heading">
- <a href="Histogram.src/M000022.html" target="Code" class="method-signature"
- onclick="popupCode('Histogram.src/M000022.html');return false;">
+ <a href="Histogram.src/M000041.html" target="Code" class="method-signature"
+ onclick="popupCode('Histogram.src/M000041.html');return false;">
<span class="method-name"><=</span><span class="method-args">(count)</span>
</a>
</div>
<div class="method-description">
<p>
-Returns a <a href="Histogram.html#M000016">new</a> <a
+Returns a <a href="Histogram.html#M000035">new</a> <a
href="Histogram.html">Histogram</a> containing the elements with occurences
-less than or equal to the given <a href="Histogram.html#M000017">count</a>.
+less than or equal to the given <a href="Histogram.html#M000036">count</a>.
</p>
</div>
</div>
- <div id="method-M000024" class="method-detail">
- <a name="M000024"></a>
+ <div id="method-M000043" class="method-detail">
+ <a name="M000043"></a>
<div class="method-heading">
- <a href="Histogram.src/M000024.html" target="Code" class="method-signature"
- onclick="popupCode('Histogram.src/M000024.html');return false;">
+ <a href="Histogram.src/M000043.html" target="Code" class="method-signature"
+ onclick="popupCode('Histogram.src/M000043.html');return false;">
<span class="method-name">==</span><span class="method-args">(count)</span>
</a>
</div>
<div class="method-description">
<p>
-If <a href="Histogram.html#M000017">count</a> is a number, a <a
-href="Histogram.html#M000016">new</a> <a
+If <a href="Histogram.html#M000036">count</a> is a number, a <a
+href="Histogram.html#M000035">new</a> <a
href="Histogram.html">Histogram</a> containing the elements with occurences
equal to the given countis returned. If the <a
-href="Histogram.html#M000017">count</a> is a histogram, true is returned if
+href="Histogram.html#M000036">count</a> is a histogram, true is returned if
the instance contains the same keys and values; false otherwise.
</p>
</div>
</div>
- <div id="method-M000021" class="method-detail">
- <a name="M000021"></a>
+ <div id="method-M000040" class="method-detail">
+ <a name="M000040"></a>
<div class="method-heading">
- <a href="Histogram.src/M000021.html" target="Code" class="method-signature"
- onclick="popupCode('Histogram.src/M000021.html');return false;">
+ <a href="Histogram.src/M000040.html" target="Code" class="method-signature"
+ onclick="popupCode('Histogram.src/M000040.html');return false;">
<span class="method-name">></span><span class="method-args">(count)</span>
</a>
</div>
<div class="method-description">
<p>
-Returns a <a href="Histogram.html#M000016">new</a> <a
+Returns a <a href="Histogram.html#M000035">new</a> <a
href="Histogram.html">Histogram</a> containing the elements with occurences
-greater than the given <a href="Histogram.html#M000017">count</a>.
+greater than the given <a href="Histogram.html#M000036">count</a>.
</p>
</div>
</div>
- <div id="method-M000020" class="method-detail">
- <a name="M000020"></a>
+ <div id="method-M000039" class="method-detail">
+ <a name="M000039"></a>
<div class="method-heading">
- <a href="Histogram.src/M000020.html" target="Code" class="method-signature"
- onclick="popupCode('Histogram.src/M000020.html');return false;">
+ <a href="Histogram.src/M000039.html" target="Code" class="method-signature"
+ onclick="popupCode('Histogram.src/M000039.html');return false;">
<span class="method-name">>=</span><span class="method-args">(count)</span>
</a>
</div>
<div class="method-description">
<p>
-Returns a <a href="Histogram.html#M000016">new</a> <a
+Returns a <a href="Histogram.html#M000035">new</a> <a
href="Histogram.html">Histogram</a> containing the elements with occurences
greater than or equal to the given <a
-href="Histogram.html#M000017">count</a>.
+href="Histogram.html#M000036">count</a>.
</p>
</div>
</div>
- <div id="method-M000018" class="method-detail">
- <a name="M000018"></a>
+ <div id="method-M000037" class="method-detail">
+ <a name="M000037"></a>
<div class="method-heading">
- <a href="Histogram.src/M000018.html" target="Code" class="method-signature"
- onclick="popupCode('Histogram.src/M000018.html');return false;">
+ <a href="Histogram.src/M000037.html" target="Code" class="method-signature"
+ onclick="popupCode('Histogram.src/M000037.html');return false;">
<span class="method-name">add</span><span class="method-args">(key,count=1)</span>
</a>
</div>
<div class="method-description">
<p>
Adds the key to the instance if it doesn‘t already exist, and adds
-the specified <a href="Histogram.html#M000017">count</a> to it value. If
+the specified <a href="Histogram.html#M000036">count</a> to it value. If
the key is
</p>
<ul>
<li>an Array, each member of the array is added. if the member itself is an
Array, then if that array has one member, the member is added as a key; if
two members, the member is added as a key and a <a
-href="Histogram.html#M000017">count</a>; otherwise, a <a
+href="Histogram.html#M000036">count</a>; otherwise, a <a
href="HistogramException.html">HistogramException</a> is thrown.
</li>
<li>another histogram, the keys and counts in the key are added to the
instance.
@@ -273,16 +273,16 @@
</li>
</ul>
</div>
</div>
- <div id="method-M000017" class="method-detail">
- <a name="M000017"></a>
+ <div id="method-M000036" class="method-detail">
+ <a name="M000036"></a>
<div class="method-heading">
- <a href="Histogram.src/M000017.html" target="Code" class="method-signature"
- onclick="popupCode('Histogram.src/M000017.html');return false;">
+ <a href="Histogram.src/M000036.html" target="Code" class="method-signature"
+ onclick="popupCode('Histogram.src/M000036.html');return false;">
<span class="method-name">count</span><span class="method-args">(check_keys = keys)</span>
</a>
</div>
<div class="method-description">
@@ -291,15 +291,15 @@
given, the sum of the number of occurences of those keys is returned.
</p>
</div>
</div>
- <div id="method-M000019" class="method-detail">
- <a name="M000019"></a>
+ <div id="method-M000038" class="method-detail">
+ <a name="M000038"></a>
<div class="method-heading">
- <a href="Histogram.src/M000019.html" target="Code" class="method-signature"
- onclick="popupCode('Histogram.src/M000019.html');return false;">
+ <a href="Histogram.src/M000038.html" target="Code" class="method-signature"
+ onclick="popupCode('Histogram.src/M000038.html');return false;">
<span class="method-name">key_count</span><span class="method-args">()</span>
</a>
</div>
<div class="method-description">
\ No newline at end of file