blob: 5fbcb9ca0abc91a9b6564f151bfeb9390e702529 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_121) on Fri Apr 14 22:10:58 PDT 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AbstractIntFloatMap (Mahout Math 0.13.0 API)</title>
<meta name="date" content="2017-04-14">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AbstractIntFloatMap (Mahout Math 0.13.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":6,"i8":10,"i9":6,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":6,"i18":6,"i19":10,"i20":10,"i21":10,"i22":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AbstractIntFloatMap.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/mahout/math/map/AbstractIntDoubleMap.html" title="class in org.apache.mahout.math.map"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/mahout/math/map/AbstractIntIntMap.html" title="class in org.apache.mahout.math.map"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/mahout/math/map/AbstractIntFloatMap.html" target="_top">Frames</a></li>
<li><a href="AbstractIntFloatMap.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.apache.mahout.math.set.AbstractSet">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.mahout.math.map</div>
<h2 title="Class AbstractIntFloatMap" class="title">Class AbstractIntFloatMap</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/apache/mahout/math/PersistentObject.html" title="class in org.apache.mahout.math">org.apache.mahout.math.PersistentObject</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/apache/mahout/math/set/AbstractSet.html" title="class in org.apache.mahout.math.set">org.apache.mahout.math.set.AbstractSet</a></li>
<li>
<ul class="inheritance">
<li>org.apache.mahout.math.map.AbstractIntFloatMap</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../org/apache/mahout/math/map/OpenIntFloatHashMap.html" title="class in org.apache.mahout.math.map">OpenIntFloatHashMap</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">AbstractIntFloatMap</span>
extends <a href="../../../../../org/apache/mahout/math/set/AbstractSet.html" title="class in org.apache.mahout.math.set">AbstractSet</a></pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../serialized-form.html#org.apache.mahout.math.map.AbstractIntFloatMap">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.mahout.math.set.AbstractSet">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.mahout.math.set.<a href="../../../../../org/apache/mahout/math/set/AbstractSet.html" title="class in org.apache.mahout.math.set">AbstractSet</a></h3>
<code><a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#DEFAULT_CAPACITY">DEFAULT_CAPACITY</a>, <a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#DEFAULT_MAX_LOAD_FACTOR">DEFAULT_MAX_LOAD_FACTOR</a>, <a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#DEFAULT_MIN_LOAD_FACTOR">DEFAULT_MIN_LOAD_FACTOR</a>, <a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#distinct">distinct</a>, <a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#highWaterMark">highWaterMark</a>, <a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#lowWaterMark">lowWaterMark</a>, <a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#maxLoadFactor">maxLoadFactor</a>, <a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#minLoadFactor">minLoadFactor</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#AbstractIntFloatMap--">AbstractIntFloatMap</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#adjustOrPutValue-int-float-float-">adjustOrPutValue</a></span>(int&nbsp;key,
float&nbsp;newValue,
float&nbsp;incrValue)</code>
<div class="block">Check the map for a key.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#assign-org.apache.mahout.math.map.AbstractIntFloatMap-">assign</a></span>(<a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html" title="class in org.apache.mahout.math.map">AbstractIntFloatMap</a>&nbsp;other)</code>
<div class="block">Clears the receiver, then adds all (key,value) pairs of <tt>other</tt>values to it.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#assign-org.apache.mahout.math.function.FloatFunction-">assign</a></span>(<a href="../../../../../org/apache/mahout/math/function/FloatFunction.html" title="interface in org.apache.mahout.math.function">FloatFunction</a>&nbsp;function)</code>
<div class="block">Assigns the result of a function to each value; <tt>v[i] = function(v[i])</tt>.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#containsKey-int-">containsKey</a></span>(int&nbsp;key)</code>
<div class="block">Returns <tt>true</tt> if the receiver contains the specified key.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#containsValue-float-">containsValue</a></span>(float&nbsp;value)</code>
<div class="block">Returns <tt>true</tt> if the receiver contains the specified value.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html" title="class in org.apache.mahout.math.map">AbstractIntFloatMap</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#copy--">copy</a></span>()</code>
<div class="block">Returns a deep copy of the receiver; uses <code>clone()</code> and casts the result.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</code>
<div class="block">Compares the specified object with this map for equality.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#forEachKey-org.apache.mahout.math.function.IntProcedure-">forEachKey</a></span>(<a href="../../../../../org/apache/mahout/math/function/IntProcedure.html" title="interface in org.apache.mahout.math.function">IntProcedure</a>&nbsp;procedure)</code>
<div class="block">Applies a procedure to each key of the receiver, if any.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#forEachPair-org.apache.mahout.math.function.IntFloatProcedure-">forEachPair</a></span>(<a href="../../../../../org/apache/mahout/math/function/IntFloatProcedure.html" title="interface in org.apache.mahout.math.function">IntFloatProcedure</a>&nbsp;procedure)</code>
<div class="block">Applies a procedure to each (key,value) pair of the receiver, if any.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>abstract float</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#get-int-">get</a></span>(int&nbsp;key)</code>
<div class="block">Returns the value associated with the specified key.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/mahout/math/list/IntArrayList.html" title="class in org.apache.mahout.math.list">IntArrayList</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#keys--">keys</a></span>()</code>
<div class="block">Returns a list filled with all keys contained in the receiver.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#keys-org.apache.mahout.math.list.IntArrayList-">keys</a></span>(<a href="../../../../../org/apache/mahout/math/list/IntArrayList.html" title="class in org.apache.mahout.math.list">IntArrayList</a>&nbsp;list)</code>
<div class="block">Fills all keys contained in the receiver into the specified list.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#keysSortedByValue-org.apache.mahout.math.list.IntArrayList-">keysSortedByValue</a></span>(<a href="../../../../../org/apache/mahout/math/list/IntArrayList.html" title="class in org.apache.mahout.math.list">IntArrayList</a>&nbsp;keyList)</code>
<div class="block">Fills all keys <i>sorted ascending by their associated value</i> into the specified list.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#pairsMatching-org.apache.mahout.math.function.IntFloatProcedure-org.apache.mahout.math.list.IntArrayList-org.apache.mahout.math.list.FloatArrayList-">pairsMatching</a></span>(<a href="../../../../../org/apache/mahout/math/function/IntFloatProcedure.html" title="interface in org.apache.mahout.math.function">IntFloatProcedure</a>&nbsp;condition,
<a href="../../../../../org/apache/mahout/math/list/IntArrayList.html" title="class in org.apache.mahout.math.list">IntArrayList</a>&nbsp;keyList,
<a href="../../../../../org/apache/mahout/math/list/FloatArrayList.html" title="class in org.apache.mahout.math.list">FloatArrayList</a>&nbsp;valueList)</code>
<div class="block">Fills all pairs satisfying a given condition into the specified lists.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#pairsSortedByKey-org.apache.mahout.math.list.IntArrayList-org.apache.mahout.math.list.FloatArrayList-">pairsSortedByKey</a></span>(<a href="../../../../../org/apache/mahout/math/list/IntArrayList.html" title="class in org.apache.mahout.math.list">IntArrayList</a>&nbsp;keyList,
<a href="../../../../../org/apache/mahout/math/list/FloatArrayList.html" title="class in org.apache.mahout.math.list">FloatArrayList</a>&nbsp;valueList)</code>
<div class="block">Fills all keys and values <i>sorted ascending by key</i> into the specified lists.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#pairsSortedByValue-org.apache.mahout.math.list.IntArrayList-org.apache.mahout.math.list.FloatArrayList-">pairsSortedByValue</a></span>(<a href="../../../../../org/apache/mahout/math/list/IntArrayList.html" title="class in org.apache.mahout.math.list">IntArrayList</a>&nbsp;keyList,
<a href="../../../../../org/apache/mahout/math/list/FloatArrayList.html" title="class in org.apache.mahout.math.list">FloatArrayList</a>&nbsp;valueList)</code>
<div class="block">Fills all keys and values <i>sorted ascending by value</i> into the specified lists.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#put-int-float-">put</a></span>(int&nbsp;key,
float&nbsp;value)</code>
<div class="block">Associates the given key with the given value.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>abstract boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#removeKey-int-">removeKey</a></span>(int&nbsp;key)</code>
<div class="block">Removes the given key with its associated element from the receiver, if present.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#toString--">toString</a></span>()</code>
<div class="block">Returns a string representation of the receiver, containing the String representation of each key-value pair,
sorted ascending by key.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#toStringByValue--">toStringByValue</a></span>()</code>
<div class="block">Returns a string representation of the receiver, containing the String representation of each key-value pair,
sorted ascending by value.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/mahout/math/list/FloatArrayList.html" title="class in org.apache.mahout.math.list">FloatArrayList</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#values--">values</a></span>()</code>
<div class="block">Returns a list filled with all values contained in the receiver.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#values-org.apache.mahout.math.list.FloatArrayList-">values</a></span>(<a href="../../../../../org/apache/mahout/math/list/FloatArrayList.html" title="class in org.apache.mahout.math.list">FloatArrayList</a>&nbsp;list)</code>
<div class="block">Fills all values contained in the receiver into the specified list.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.mahout.math.set.AbstractSet">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.mahout.math.set.<a href="../../../../../org/apache/mahout/math/set/AbstractSet.html" title="class in org.apache.mahout.math.set">AbstractSet</a></h3>
<code><a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#chooseGrowCapacity-int-double-double-">chooseGrowCapacity</a>, <a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#chooseHighWaterMark-int-double-">chooseHighWaterMark</a>, <a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#chooseLowWaterMark-int-double-">chooseLowWaterMark</a>, <a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#chooseMeanCapacity-int-double-double-">chooseMeanCapacity</a>, <a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#chooseShrinkCapacity-int-double-double-">chooseShrinkCapacity</a>, <a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#clear--">clear</a>, <a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#ensureCapacity-int-">ensureCapacity</a>, <a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#equalsMindTheNull-java.lang.Object-java.lang.Object-">equalsMindTheNull</a>, <a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#isEmpty--">isEmpty</a>, <a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#nextPrime-int-">nextPrime</a>, <a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#setUp-int-double-double-">setUp</a>, <a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#size--">size</a>, <a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#trimToSize--">trimToSize</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.mahout.math.PersistentObject">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.mahout.math.<a href="../../../../../org/apache/mahout/math/PersistentObject.html" title="class in org.apache.mahout.math">PersistentObject</a></h3>
<code><a href="../../../../../org/apache/mahout/math/PersistentObject.html#clone--">clone</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AbstractIntFloatMap--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AbstractIntFloatMap</h4>
<pre>public&nbsp;AbstractIntFloatMap()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="containsKey-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsKey</h4>
<pre>public&nbsp;boolean&nbsp;containsKey(int&nbsp;key)</pre>
<div class="block">Returns <tt>true</tt> if the receiver contains the specified key.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if the receiver contains the specified key.</dd>
</dl>
</li>
</ul>
<a name="containsValue-float-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsValue</h4>
<pre>public&nbsp;boolean&nbsp;containsValue(float&nbsp;value)</pre>
<div class="block">Returns <tt>true</tt> if the receiver contains the specified value.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if the receiver contains the specified value.</dd>
</dl>
</li>
</ul>
<a name="copy--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copy</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html" title="class in org.apache.mahout.math.map">AbstractIntFloatMap</a>&nbsp;copy()</pre>
<div class="block">Returns a deep copy of the receiver; uses <code>clone()</code> and casts the result.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a deep copy of the receiver.</dd>
</dl>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</pre>
<div class="block">Compares the specified object with this map for equality. Returns <tt>true</tt> if the given object is also a map
and the two maps represent the same mappings. More formally, two maps <tt>m1</tt> and <tt>m2</tt> represent the
same mappings iff
<pre>
m1.forEachPair(
new IntFloatProcedure() {
public boolean apply(int key, float value) {
return m2.containsKey(key) && m2.get(key) == value;
}
}
)
&&
m2.forEachPair(
new IntFloatProcedure() {
public boolean apply(int key, float value) {
return m1.containsKey(key) && m1.get(key) == value;
}
}
);
</pre>
This implementation first checks if the specified object is this map; if so it returns <tt>true</tt>. Then, it
checks if the specified object is a map whose size is identical to the size of this set; if not, it it returns
<tt>false</tt>. If so, it applies the iteration as described above.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>obj</code> - object to be compared for equality with this map.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if the specified object is equal to this map.</dd>
</dl>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="forEachKey-org.apache.mahout.math.function.IntProcedure-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forEachKey</h4>
<pre>public abstract&nbsp;boolean&nbsp;forEachKey(<a href="../../../../../org/apache/mahout/math/function/IntProcedure.html" title="interface in org.apache.mahout.math.function">IntProcedure</a>&nbsp;procedure)</pre>
<div class="block">Applies a procedure to each key of the receiver, if any. Note: Iterates over the keys in no particular order.
Subclasses can define a particular order, for example, "sorted by key". All methods which <i>can</i> be expressed
in terms of this method (most methods can) <i>must guarantee</i> to use the <i>same</i> order defined by this
method, even if it is no particular order. This is necessary so that, for example, methods <tt>keys</tt> and
<tt>values</tt> will yield association pairs, not two uncorrelated lists.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>procedure</code> - the procedure to be applied. Stops iteration if the procedure returns <tt>false</tt>, otherwise
continues.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>false</tt> if the procedure stopped before all keys where iterated over, <tt>true</tt> otherwise.</dd>
</dl>
</li>
</ul>
<a name="forEachPair-org.apache.mahout.math.function.IntFloatProcedure-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forEachPair</h4>
<pre>public&nbsp;boolean&nbsp;forEachPair(<a href="../../../../../org/apache/mahout/math/function/IntFloatProcedure.html" title="interface in org.apache.mahout.math.function">IntFloatProcedure</a>&nbsp;procedure)</pre>
<div class="block">Applies a procedure to each (key,value) pair of the receiver, if any. Iteration order is guaranteed to be
<i>identical</i> to the order used by method <a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#forEachKey-org.apache.mahout.math.function.IntProcedure-"><code>forEachKey(IntProcedure)</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>procedure</code> - the procedure to be applied. Stops iteration if the procedure returns <tt>false</tt>, otherwise
continues.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>false</tt> if the procedure stopped before all keys where iterated over, <tt>true</tt> otherwise.</dd>
</dl>
</li>
</ul>
<a name="get-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public abstract&nbsp;float&nbsp;get(int&nbsp;key)</pre>
<div class="block">Returns the value associated with the specified key. It is often a good idea to first check with <a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#containsKey-int-"><code>containsKey(int)</code></a> whether the given key has a value associated or not, i.e. whether there exists an association
for the given key or not.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to be searched for.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value associated with the specified key; <tt>0</tt> if no such key is present.</dd>
</dl>
</li>
</ul>
<a name="keys--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>keys</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/mahout/math/list/IntArrayList.html" title="class in org.apache.mahout.math.list">IntArrayList</a>&nbsp;keys()</pre>
<div class="block">Returns a list filled with all keys contained in the receiver. The returned list has a size that equals
<tt>this.size()</tt>. Iteration order is guaranteed to be <i>identical</i> to the order used by method <a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#forEachKey-org.apache.mahout.math.function.IntProcedure-"><code>forEachKey(IntProcedure)</code></a>. <p> This method can be used to iterate over the keys of the receiver.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the keys.</dd>
</dl>
</li>
</ul>
<a name="keys-org.apache.mahout.math.list.IntArrayList-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>keys</h4>
<pre>public&nbsp;void&nbsp;keys(<a href="../../../../../org/apache/mahout/math/list/IntArrayList.html" title="class in org.apache.mahout.math.list">IntArrayList</a>&nbsp;list)</pre>
<div class="block">Fills all keys contained in the receiver into the specified list. Fills the list, starting at index 0. After this
call returns the specified list has a new size that equals <tt>this.size()</tt>. Iteration order is guaranteed to
be <i>identical</i> to the order used by method <a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#forEachKey-org.apache.mahout.math.function.IntProcedure-"><code>forEachKey(IntProcedure)</code></a>. <p> This method can be used to
iterate over the keys of the receiver.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>list</code> - the list to be filled, can have any size.</dd>
</dl>
</li>
</ul>
<a name="keysSortedByValue-org.apache.mahout.math.list.IntArrayList-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>keysSortedByValue</h4>
<pre>public&nbsp;void&nbsp;keysSortedByValue(<a href="../../../../../org/apache/mahout/math/list/IntArrayList.html" title="class in org.apache.mahout.math.list">IntArrayList</a>&nbsp;keyList)</pre>
<div class="block">Fills all keys <i>sorted ascending by their associated value</i> into the specified list. Fills into the list,
starting at index 0. After this call returns the specified list has a new size that equals <tt>this.size()</tt>.
Primary sort criterium is "value", secondary sort criterium is "key". This means that if any two values are equal,
the smaller key comes first. <p> <b>Example:</b> <br> <tt>keys = (8,7,6), values = (1,2,2) --> keyList =
(8,6,7)</tt></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>keyList</code> - the list to be filled, can have any size.</dd>
</dl>
</li>
</ul>
<a name="pairsMatching-org.apache.mahout.math.function.IntFloatProcedure-org.apache.mahout.math.list.IntArrayList-org.apache.mahout.math.list.FloatArrayList-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pairsMatching</h4>
<pre>public&nbsp;void&nbsp;pairsMatching(<a href="../../../../../org/apache/mahout/math/function/IntFloatProcedure.html" title="interface in org.apache.mahout.math.function">IntFloatProcedure</a>&nbsp;condition,
<a href="../../../../../org/apache/mahout/math/list/IntArrayList.html" title="class in org.apache.mahout.math.list">IntArrayList</a>&nbsp;keyList,
<a href="../../../../../org/apache/mahout/math/list/FloatArrayList.html" title="class in org.apache.mahout.math.list">FloatArrayList</a>&nbsp;valueList)</pre>
<div class="block">Fills all pairs satisfying a given condition into the specified lists. Fills into the lists, starting at index 0.
After this call returns the specified lists both have a new size, the number of pairs satisfying the condition.
Iteration order is guaranteed to be <i>identical</i> to the order used by method
<a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#forEachKey-org.apache.mahout.math.function.IntProcedure-"><code>forEachKey(IntProcedure)</code></a>.
<p> <b>Example:</b> <br>
<pre>
IntIntProcedure condition = new IntIntProcedure() { // match even keys only
public boolean apply(int key, int value) { return key%2==0; }
}
keys = (8,7,6), values = (1,2,2) --> keyList = (6,8), valueList = (2,1)</tt>
</pre></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>condition</code> - the condition to be matched. Takes the current key as first and the current value as second
argument.</dd>
<dd><code>keyList</code> - the list to be filled with keys, can have any size.</dd>
<dd><code>valueList</code> - the list to be filled with values, can have any size.</dd>
</dl>
</li>
</ul>
<a name="pairsSortedByKey-org.apache.mahout.math.list.IntArrayList-org.apache.mahout.math.list.FloatArrayList-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pairsSortedByKey</h4>
<pre>public&nbsp;void&nbsp;pairsSortedByKey(<a href="../../../../../org/apache/mahout/math/list/IntArrayList.html" title="class in org.apache.mahout.math.list">IntArrayList</a>&nbsp;keyList,
<a href="../../../../../org/apache/mahout/math/list/FloatArrayList.html" title="class in org.apache.mahout.math.list">FloatArrayList</a>&nbsp;valueList)</pre>
<div class="block">Fills all keys and values <i>sorted ascending by key</i> into the specified lists. Fills into the lists, starting
at index 0. After this call returns the specified lists both have a new size that equals <tt>this.size()</tt>. <p>
<b>Example:</b> <br> <tt>keys = (8,7,6), values = (1,2,2) --> keyList = (6,7,8), valueList = (2,2,1)</tt></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>keyList</code> - the list to be filled with keys, can have any size.</dd>
<dd><code>valueList</code> - the list to be filled with values, can have any size.</dd>
</dl>
</li>
</ul>
<a name="pairsSortedByValue-org.apache.mahout.math.list.IntArrayList-org.apache.mahout.math.list.FloatArrayList-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pairsSortedByValue</h4>
<pre>public&nbsp;void&nbsp;pairsSortedByValue(<a href="../../../../../org/apache/mahout/math/list/IntArrayList.html" title="class in org.apache.mahout.math.list">IntArrayList</a>&nbsp;keyList,
<a href="../../../../../org/apache/mahout/math/list/FloatArrayList.html" title="class in org.apache.mahout.math.list">FloatArrayList</a>&nbsp;valueList)</pre>
<div class="block">Fills all keys and values <i>sorted ascending by value</i> into the specified lists. Fills into the lists, starting
at index 0. After this call returns the specified lists both have a new size that equals <tt>this.size()</tt>.
Primary sort criterium is "value", secondary sort criterium is "key". This means that if any two values are equal,
the smaller key comes first. <p> <b>Example:</b> <br> <tt>keys = (8,7,6), values = (1,2,2) --> keyList = (8,6,7),
valueList = (1,2,2)</tt></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>keyList</code> - the list to be filled with keys, can have any size.</dd>
<dd><code>valueList</code> - the list to be filled with values, can have any size.</dd>
</dl>
</li>
</ul>
<a name="put-int-float-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public abstract&nbsp;boolean&nbsp;put(int&nbsp;key,
float&nbsp;value)</pre>
<div class="block">Associates the given key with the given value. Replaces any old <tt>(key,someOtherValue)</tt> association, if
existing.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key the value shall be associated with.</dd>
<dd><code>value</code> - the value to be associated.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if the receiver did not already contain such a key; <tt>false</tt> if the receiver did
already contain such a key - the new value has now replaced the formerly associated value.</dd>
</dl>
</li>
</ul>
<a name="removeKey-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeKey</h4>
<pre>public abstract&nbsp;boolean&nbsp;removeKey(int&nbsp;key)</pre>
<div class="block">Removes the given key with its associated element from the receiver, if present.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to be removed from the receiver.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if the receiver contained the specified key, <tt>false</tt> otherwise.</dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<div class="block">Returns a string representation of the receiver, containing the String representation of each key-value pair,
sorted ascending by key.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="toStringByValue--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toStringByValue</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toStringByValue()</pre>
<div class="block">Returns a string representation of the receiver, containing the String representation of each key-value pair,
sorted ascending by value.</div>
</li>
</ul>
<a name="values--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/mahout/math/list/FloatArrayList.html" title="class in org.apache.mahout.math.list">FloatArrayList</a>&nbsp;values()</pre>
<div class="block">Returns a list filled with all values contained in the receiver. The returned list has a size that equals
<tt>this.size()</tt>. Iteration order is guaranteed to be <i>identical</i> to the order used by method <a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#forEachKey-org.apache.mahout.math.function.IntProcedure-"><code>forEachKey(IntProcedure)</code></a>. <p> This method can be used to iterate over the values of the receiver.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the values.</dd>
</dl>
</li>
</ul>
<a name="values-org.apache.mahout.math.list.FloatArrayList-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre>public&nbsp;void&nbsp;values(<a href="../../../../../org/apache/mahout/math/list/FloatArrayList.html" title="class in org.apache.mahout.math.list">FloatArrayList</a>&nbsp;list)</pre>
<div class="block">Fills all values contained in the receiver into the specified list. Fills the list, starting at index 0. After this
call returns the specified list has a new size that equals <tt>this.size()</tt>. Iteration order is guaranteed to
be <i>identical</i> to the order used by method <a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html#forEachKey-org.apache.mahout.math.function.IntProcedure-"><code>forEachKey(IntProcedure)</code></a>.
<p> This method can be used to
iterate over the values of the receiver.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>list</code> - the list to be filled, can have any size.</dd>
</dl>
</li>
</ul>
<a name="assign-org.apache.mahout.math.function.FloatFunction-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assign</h4>
<pre>public&nbsp;void&nbsp;assign(<a href="../../../../../org/apache/mahout/math/function/FloatFunction.html" title="interface in org.apache.mahout.math.function">FloatFunction</a>&nbsp;function)</pre>
<div class="block">Assigns the result of a function to each value; <tt>v[i] = function(v[i])</tt>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>function</code> - a function object taking as argument the current association's value.</dd>
</dl>
</li>
</ul>
<a name="assign-org.apache.mahout.math.map.AbstractIntFloatMap-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>assign</h4>
<pre>public&nbsp;void&nbsp;assign(<a href="../../../../../org/apache/mahout/math/map/AbstractIntFloatMap.html" title="class in org.apache.mahout.math.map">AbstractIntFloatMap</a>&nbsp;other)</pre>
<div class="block">Clears the receiver, then adds all (key,value) pairs of <tt>other</tt>values to it.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>other</code> - the other map to be copied into the receiver.</dd>
</dl>
</li>
</ul>
<a name="adjustOrPutValue-int-float-float-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>adjustOrPutValue</h4>
<pre>public&nbsp;float&nbsp;adjustOrPutValue(int&nbsp;key,
float&nbsp;newValue,
float&nbsp;incrValue)</pre>
<div class="block">Check the map for a key. If present, add an increment to the value. If absent,
store a specified value.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key.</dd>
<dd><code>newValue</code> - the value to store if the key is not currently in the map.</dd>
<dd><code>incrValue</code> - the value to be added to the current value in the map.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AbstractIntFloatMap.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/mahout/math/map/AbstractIntDoubleMap.html" title="class in org.apache.mahout.math.map"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/mahout/math/map/AbstractIntIntMap.html" title="class in org.apache.mahout.math.map"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/mahout/math/map/AbstractIntFloatMap.html" target="_top">Frames</a></li>
<li><a href="AbstractIntFloatMap.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.apache.mahout.math.set.AbstractSet">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>