blob: a00f45f72d9eb6133fec2dd2967a475ac817f2c5 [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:59 PDT 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>OpenObjectCharHashMap (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="OpenObjectCharHashMap (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":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance 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/OpenObjectCharHashMap.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/OpenObjectByteHashMap.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/OpenObjectDoubleHashMap.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/OpenObjectCharHashMap.html" target="_top">Frames</a></li>
<li><a href="OpenObjectCharHashMap.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="#field.summary">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><a href="#field.detail">Field</a>&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 OpenObjectCharHashMap" class="title">Class OpenObjectCharHashMap&lt;T&gt;</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><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html" title="class in org.apache.mahout.math.map">org.apache.mahout.math.map.AbstractObjectCharMap</a>&lt;T&gt;</li>
<li>
<ul class="inheritance">
<li>org.apache.mahout.math.map.OpenObjectCharHashMap&lt;T&gt;</li>
</ul>
</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>
<hr>
<br>
<pre>public class <span class="typeNameLabel">OpenObjectCharHashMap&lt;T&gt;</span>
extends <a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html" title="class in org.apache.mahout.math.map">AbstractObjectCharMap</a>&lt;T&gt;</pre>
<div class="block">Open hash map from Object keys to char values.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../serialized-form.html#org.apache.mahout.math.map.OpenObjectCharHashMap">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>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static byte</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#FREE">FREE</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static byte</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#FULL">FULL</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static <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></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#NO_KEY_VALUE">NO_KEY_VALUE</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static byte</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#REMOVED">REMOVED</a></span></code>&nbsp;</td>
</tr>
</table>
<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/OpenObjectCharHashMap.html#OpenObjectCharHashMap--">OpenObjectCharHashMap</a></span>()</code>
<div class="block">Constructs an empty map with default capacity and default load factors.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#OpenObjectCharHashMap-int-">OpenObjectCharHashMap</a></span>(int&nbsp;initialCapacity)</code>
<div class="block">Constructs an empty map with the specified initial capacity and default load factors.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#OpenObjectCharHashMap-int-double-double-">OpenObjectCharHashMap</a></span>(int&nbsp;initialCapacity,
double&nbsp;minLoadFactor,
double&nbsp;maxLoadFactor)</code>
<div class="block">Constructs an empty map with the specified initial capacity and the specified minimum and maximum load factor.</div>
</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="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>char</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#adjustOrPutValue-T-char-char-">adjustOrPutValue</a></span>(<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&nbsp;key,
char&nbsp;newValue,
char&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/OpenObjectCharHashMap.html#clear--">clear</a></span>()</code>
<div class="block">Removes all (key,value) associations from the receiver.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><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></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#clone--">clone</a></span>()</code>
<div class="block">Returns a deep copy of the receiver.</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/OpenObjectCharHashMap.html#containsKey-T-">containsKey</a></span>(<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&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/OpenObjectCharHashMap.html#containsValue-char-">containsValue</a></span>(char&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>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#ensureCapacity-int-">ensureCapacity</a></span>(int&nbsp;minCapacity)</code>
<div class="block">Ensures that the receiver can hold at least the specified number of associations without needing to allocate new
internal memory.</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/OpenObjectCharHashMap.html#forEachKey-org.apache.mahout.math.function.ObjectProcedure-">forEachKey</a></span>(<a href="../../../../../org/apache/mahout/math/function/ObjectProcedure.html" title="interface in org.apache.mahout.math.function">ObjectProcedure</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;&nbsp;procedure)</code>
<div class="block">Applies a procedure to each key of the receiver, if any.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#forEachPair-org.apache.mahout.math.function.ObjectCharProcedure-">forEachPair</a></span>(<a href="../../../../../org/apache/mahout/math/function/ObjectCharProcedure.html" title="interface in org.apache.mahout.math.function">ObjectCharProcedure</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;&nbsp;procedure)</code>
<div class="block">Applies a procedure to each (key,value) pair of the receiver, if any.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>char</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#get-T-">get</a></span>(<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&nbsp;key)</code>
<div class="block">Returns the value associated with the specified key.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#getInternalFactors-int:A-double:A-double:A-">getInternalFactors</a></span>(int[]&nbsp;capacity,
double[]&nbsp;minLoadFactor,
double[]&nbsp;maxLoadFactor)</code>
<div class="block">Access for unit tests.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#indexOfInsertion-T-">indexOfInsertion</a></span>(<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&nbsp;key)</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#indexOfKey-T-">indexOfKey</a></span>(<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&nbsp;key)</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#indexOfValue-char-">indexOfValue</a></span>(char&nbsp;value)</code>&nbsp;</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/OpenObjectCharHashMap.html#keys-java.util.List-">keys</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;&nbsp;list)</code>
<div class="block">Fills all keys contained in the receiver 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/OpenObjectCharHashMap.html#pairsMatching-org.apache.mahout.math.function.ObjectCharProcedure-java.util.List-org.apache.mahout.math.list.CharArrayList-">pairsMatching</a></span>(<a href="../../../../../org/apache/mahout/math/function/ObjectCharProcedure.html" title="interface in org.apache.mahout.math.function">ObjectCharProcedure</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;&nbsp;condition,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;&nbsp;keyList,
<a href="../../../../../org/apache/mahout/math/list/CharArrayList.html" title="class in org.apache.mahout.math.list">CharArrayList</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>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#put-T-char-">put</a></span>(<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&nbsp;key,
char&nbsp;value)</code>
<div class="block">Associates the given key with the given value.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#rehash-int-">rehash</a></span>(int&nbsp;newCapacity)</code>
<div class="block">Rehashes the contents of the receiver into a new table with a smaller or larger capacity.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#removeKey-T-">removeKey</a></span>(<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&nbsp;key)</code>
<div class="block">Removes the given key with its associated element from the receiver, if present.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#setUp-int-double-double-">setUp</a></span>(int&nbsp;initialCapacity,
double&nbsp;minLoadFactor,
double&nbsp;maxLoadFactor)</code>
<div class="block">Initializes the receiver.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#trimToSize--">trimToSize</a></span>()</code>
<div class="block">Trims the capacity of the receiver to be the receiver's current size.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html#values-org.apache.mahout.math.list.CharArrayList-">values</a></span>(<a href="../../../../../org/apache/mahout/math/list/CharArrayList.html" title="class in org.apache.mahout.math.list">CharArrayList</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.map.AbstractObjectCharMap">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.mahout.math.map.<a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html" title="class in org.apache.mahout.math.map">AbstractObjectCharMap</a></h3>
<code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#copy--">copy</a>, <a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#equals-java.lang.Object-">equals</a>, <a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#hashCode--">hashCode</a>, <a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#keys--">keys</a>, <a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#keysSortedByValue-java.util.List-">keysSortedByValue</a>, <a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#pairsSortedByKey-java.util.List-org.apache.mahout.math.list.CharArrayList-">pairsSortedByKey</a>, <a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#pairsSortedByValue-java.util.List-org.apache.mahout.math.list.CharArrayList-">pairsSortedByValue</a>, <a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#toString--">toString</a>, <a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#toStringByValue--">toStringByValue</a>, <a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#values--">values</a></code></li>
</ul>
<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#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#size--">size</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">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="FREE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FREE</h4>
<pre>protected static final&nbsp;byte FREE</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.mahout.math.map.OpenObjectCharHashMap.FREE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="FULL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FULL</h4>
<pre>protected static final&nbsp;byte FULL</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.mahout.math.map.OpenObjectCharHashMap.FULL">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="REMOVED">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>REMOVED</h4>
<pre>protected static final&nbsp;byte REMOVED</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.mahout.math.map.OpenObjectCharHashMap.REMOVED">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="NO_KEY_VALUE">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>NO_KEY_VALUE</h4>
<pre>protected static final&nbsp;<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> NO_KEY_VALUE</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="OpenObjectCharHashMap--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OpenObjectCharHashMap</h4>
<pre>public&nbsp;OpenObjectCharHashMap()</pre>
<div class="block">Constructs an empty map with default capacity and default load factors.</div>
</li>
</ul>
<a name="OpenObjectCharHashMap-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OpenObjectCharHashMap</h4>
<pre>public&nbsp;OpenObjectCharHashMap(int&nbsp;initialCapacity)</pre>
<div class="block">Constructs an empty map with the specified initial capacity and default load factors.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>initialCapacity</code> - the initial capacity of the map.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the initial capacity is less than zero.</dd>
</dl>
</li>
</ul>
<a name="OpenObjectCharHashMap-int-double-double-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>OpenObjectCharHashMap</h4>
<pre>public&nbsp;OpenObjectCharHashMap(int&nbsp;initialCapacity,
double&nbsp;minLoadFactor,
double&nbsp;maxLoadFactor)</pre>
<div class="block">Constructs an empty map with the specified initial capacity and the specified minimum and maximum load factor.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>initialCapacity</code> - the initial capacity.</dd>
<dd><code>minLoadFactor</code> - the minimum load factor.</dd>
<dd><code>maxLoadFactor</code> - the maximum load factor.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if <tt>initialCapacity < 0 || (minLoadFactor < 0.0 || minLoadFactor >= 1.0) ||
(maxLoadFactor <= 0.0 || maxLoadFactor >= 1.0) || (minLoadFactor >=
maxLoadFactor)</tt>.</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="clear--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clear</h4>
<pre>public&nbsp;void&nbsp;clear()</pre>
<div class="block">Removes all (key,value) associations from the receiver. Implicitly calls <tt>trimToSize()</tt>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#clear--">clear</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/mahout/math/set/AbstractSet.html" title="class in org.apache.mahout.math.set">AbstractSet</a></code></dd>
</dl>
</li>
</ul>
<a name="clone--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>public&nbsp;<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;clone()</pre>
<div class="block">Returns a deep copy of the receiver.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/mahout/math/PersistentObject.html#clone--">clone</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/mahout/math/PersistentObject.html" title="class in org.apache.mahout.math">PersistentObject</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a deep copy of the receiver.</dd>
</dl>
</li>
</ul>
<a name="containsKey-java.lang.Object-">
<!-- -->
</a><a name="containsKey-T-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsKey</h4>
<pre>public&nbsp;boolean&nbsp;containsKey(<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&nbsp;key)</pre>
<div class="block">Returns <tt>true</tt> if the receiver contains the specified key.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#containsKey-T-">containsKey</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html" title="class in org.apache.mahout.math.map">AbstractObjectCharMap</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;</code></dd>
<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-char-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsValue</h4>
<pre>public&nbsp;boolean&nbsp;containsValue(char&nbsp;value)</pre>
<div class="block">Returns <tt>true</tt> if the receiver contains the specified value.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#containsValue-char-">containsValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html" title="class in org.apache.mahout.math.map">AbstractObjectCharMap</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if the receiver contains the specified value.</dd>
</dl>
</li>
</ul>
<a name="ensureCapacity-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ensureCapacity</h4>
<pre>public&nbsp;void&nbsp;ensureCapacity(int&nbsp;minCapacity)</pre>
<div class="block">Ensures that the receiver can hold at least the specified number of associations without needing to allocate new
internal memory. If necessary, allocates new internal memory and increases the capacity of the receiver. <p> This
method never need be called; it is for performance tuning only. Calling this method before <tt>put()</tt>ing a
large number of associations boosts performance, because the receiver will grow only once instead of potentially
many times and hash collisions get less probable.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#ensureCapacity-int-">ensureCapacity</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/mahout/math/set/AbstractSet.html" title="class in org.apache.mahout.math.set">AbstractSet</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>minCapacity</code> - the desired minimum capacity.</dd>
</dl>
</li>
</ul>
<a name="forEachKey-org.apache.mahout.math.function.ObjectProcedure-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forEachKey</h4>
<pre>public&nbsp;boolean&nbsp;forEachKey(<a href="../../../../../org/apache/mahout/math/function/ObjectProcedure.html" title="interface in org.apache.mahout.math.function">ObjectProcedure</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;&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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#forEachKey-org.apache.mahout.math.function.ObjectProcedure-">forEachKey</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html" title="class in org.apache.mahout.math.map">AbstractObjectCharMap</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;</code></dd>
<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.ObjectCharProcedure-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>forEachPair</h4>
<pre>public&nbsp;boolean&nbsp;forEachPair(<a href="../../../../../org/apache/mahout/math/function/ObjectCharProcedure.html" title="interface in org.apache.mahout.math.function">ObjectCharProcedure</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;&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/OpenObjectCharHashMap.html#forEachKey-org.apache.mahout.math.function.ObjectProcedure-"><code>forEachKey(ObjectProcedure)</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#forEachPair-org.apache.mahout.math.function.ObjectCharProcedure-">forEachPair</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html" title="class in org.apache.mahout.math.map">AbstractObjectCharMap</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;</code></dd>
<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-java.lang.Object-">
<!-- -->
</a><a name="get-T-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;char&nbsp;get(<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&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/OpenObjectCharHashMap.html#containsKey-T-"><code>containsKey(Object)</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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#get-T-">get</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html" title="class in org.apache.mahout.math.map">AbstractObjectCharMap</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;</code></dd>
<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="indexOfInsertion-java.lang.Object-">
<!-- -->
</a><a name="indexOfInsertion-T-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOfInsertion</h4>
<pre>protected&nbsp;int&nbsp;indexOfInsertion(<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&nbsp;key)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to be added to the receiver.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the index where the key would need to be inserted, if it is not already contained. Returns -index-1 if the
key is already contained at slot index. Therefore, if the returned index < 0, then it is already contained
at slot -index-1. If the returned index >= 0, then it is NOT already contained and should be inserted at
slot index.</dd>
</dl>
</li>
</ul>
<a name="indexOfKey-java.lang.Object-">
<!-- -->
</a><a name="indexOfKey-T-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOfKey</h4>
<pre>protected&nbsp;int&nbsp;indexOfKey(<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&nbsp;key)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to be searched in the receiver.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the index where the key is contained in the receiver, returns -1 if the key was not found.</dd>
</dl>
</li>
</ul>
<a name="indexOfValue-char-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOfValue</h4>
<pre>protected&nbsp;int&nbsp;indexOfValue(char&nbsp;value)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - the value to be searched in the receiver.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the index where the value is contained in the receiver, returns -1 if the value was not found.</dd>
</dl>
</li>
</ul>
<a name="keys-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>keys</h4>
<pre>public&nbsp;void&nbsp;keys(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;&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>.
This method can be used
to iterate over the keys of the receiver.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#keys-java.util.List-">keys</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html" title="class in org.apache.mahout.math.map">AbstractObjectCharMap</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;</code></dd>
<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="pairsMatching-org.apache.mahout.math.function.ObjectCharProcedure-java.util.List-org.apache.mahout.math.list.CharArrayList-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pairsMatching</h4>
<pre>public&nbsp;void&nbsp;pairsMatching(<a href="../../../../../org/apache/mahout/math/function/ObjectCharProcedure.html" title="interface in org.apache.mahout.math.function">ObjectCharProcedure</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;&nbsp;condition,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;&nbsp;keyList,
<a href="../../../../../org/apache/mahout/math/list/CharArrayList.html" title="class in org.apache.mahout.math.list">CharArrayList</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.
<p> <b>Example:</b> <br>
<pre>
ObjectCharProcedure<T> condition = new ObjectCharProcedure<T>() { // match even values only
public boolean apply(T key, char value) { return value%2==0; }
}
keys = (8,7,6), values = (1,2,2) --> keyList = (6,8), valueList = (2,1)</tt>
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#pairsMatching-org.apache.mahout.math.function.ObjectCharProcedure-java.util.List-org.apache.mahout.math.list.CharArrayList-">pairsMatching</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html" title="class in org.apache.mahout.math.map">AbstractObjectCharMap</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;</code></dd>
<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="put-java.lang.Object-char-">
<!-- -->
</a><a name="put-T-char-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public&nbsp;boolean&nbsp;put(<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&nbsp;key,
char&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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#put-T-char-">put</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html" title="class in org.apache.mahout.math.map">AbstractObjectCharMap</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;</code></dd>
<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="adjustOrPutValue-java.lang.Object-char-char-">
<!-- -->
</a><a name="adjustOrPutValue-T-char-char-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>adjustOrPutValue</h4>
<pre>public&nbsp;char&nbsp;adjustOrPutValue(<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&nbsp;key,
char&nbsp;newValue,
char&nbsp;incrValue)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#adjustOrPutValue-T-char-char-">AbstractObjectCharMap</a></code></span></div>
<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="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#adjustOrPutValue-T-char-char-">adjustOrPutValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html" title="class in org.apache.mahout.math.map">AbstractObjectCharMap</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;</code></dd>
<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>
<a name="rehash-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rehash</h4>
<pre>protected&nbsp;void&nbsp;rehash(int&nbsp;newCapacity)</pre>
<div class="block">Rehashes the contents of the receiver into a new table with a smaller or larger capacity. This method is called
automatically when the number of keys in the receiver exceeds the high water mark or falls below the low water
mark.</div>
</li>
</ul>
<a name="removeKey-java.lang.Object-">
<!-- -->
</a><a name="removeKey-T-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeKey</h4>
<pre>public&nbsp;boolean&nbsp;removeKey(<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&nbsp;key)</pre>
<div class="block">Removes the given key with its associated element from the receiver, if present.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#removeKey-T-">removeKey</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html" title="class in org.apache.mahout.math.map">AbstractObjectCharMap</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;</code></dd>
<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="setUp-int-double-double-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUp</h4>
<pre>protected final&nbsp;void&nbsp;setUp(int&nbsp;initialCapacity,
double&nbsp;minLoadFactor,
double&nbsp;maxLoadFactor)</pre>
<div class="block">Initializes the receiver.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#setUp-int-double-double-">setUp</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/mahout/math/set/AbstractSet.html" title="class in org.apache.mahout.math.set">AbstractSet</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>initialCapacity</code> - the initial capacity of the receiver.</dd>
<dd><code>minLoadFactor</code> - the minLoadFactor of the receiver.</dd>
<dd><code>maxLoadFactor</code> - the maxLoadFactor of the receiver.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if <tt>initialCapacity < 0 || (minLoadFactor < 0.0 || minLoadFactor >= 1.0) ||
(maxLoadFactor <= 0.0 || maxLoadFactor >= 1.0) || (minLoadFactor >=
maxLoadFactor)</tt>.</dd>
</dl>
</li>
</ul>
<a name="trimToSize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trimToSize</h4>
<pre>public&nbsp;void&nbsp;trimToSize()</pre>
<div class="block">Trims the capacity of the receiver to be the receiver's current size. Releases any superfluous internal memory. An
application can use this operation to minimize the storage of the receiver.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/mahout/math/set/AbstractSet.html#trimToSize--">trimToSize</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/mahout/math/set/AbstractSet.html" title="class in org.apache.mahout.math.set">AbstractSet</a></code></dd>
</dl>
</li>
</ul>
<a name="values-org.apache.mahout.math.list.CharArrayList-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre>public&nbsp;void&nbsp;values(<a href="../../../../../org/apache/mahout/math/list/CharArrayList.html" title="class in org.apache.mahout.math.list">CharArrayList</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>.
<p> This method can be used
to iterate over the values of the receiver.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html#values-org.apache.mahout.math.list.CharArrayList-">values</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/mahout/math/map/AbstractObjectCharMap.html" title="class in org.apache.mahout.math.map">AbstractObjectCharMap</a>&lt;<a href="../../../../../org/apache/mahout/math/map/OpenObjectCharHashMap.html" title="type parameter in OpenObjectCharHashMap">T</a>&gt;</code></dd>
<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="getInternalFactors-int:A-double:A-double:A-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getInternalFactors</h4>
<pre>protected&nbsp;void&nbsp;getInternalFactors(int[]&nbsp;capacity,
double[]&nbsp;minLoadFactor,
double[]&nbsp;maxLoadFactor)</pre>
<div class="block">Access for unit tests.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>capacity</code> - </dd>
<dd><code>minLoadFactor</code> - </dd>
<dd><code>maxLoadFactor</code> - </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/OpenObjectCharHashMap.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/OpenObjectByteHashMap.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/OpenObjectDoubleHashMap.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/OpenObjectCharHashMap.html" target="_top">Frames</a></li>
<li><a href="OpenObjectCharHashMap.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="#field.summary">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><a href="#field.detail">Field</a>&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>