blob: 56a756c92caa00360631d945a3e113019755b6a6 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3"/>
<title>Lucene.Net: Lucene.Net.Support.CollectionsHelper Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="lucene-net-icon-128x128.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">Lucene.Net
&#160;<span id="projectnumber">3.0.3</span>
</div>
<div id="projectbrief">Lucene.Net is a .NET port of the Java Lucene Indexing Library</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="Index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Packages</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Properties</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespace_lucene.html">Lucene</a></li><li class="navelem"><a class="el" href="namespace_lucene_1_1_net.html">Net</a></li><li class="navelem"><a class="el" href="namespace_lucene_1_1_net_1_1_support.html">Support</a></li><li class="navelem"><a class="el" href="class_lucene_1_1_net_1_1_support_1_1_collections_helper.html">CollectionsHelper</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="class_lucene_1_1_net_1_1_support_1_1_collections_helper-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Lucene.Net.Support.CollectionsHelper Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="namespace_lucene_1_1_net_1_1_support.html">Support</a> class used to handle Hashtable addition, which does a check first to make sure the added item is unique in the hash.
<a href="class_lucene_1_1_net_1_1_support_1_1_collections_helper.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a5bb3c089a27c8308646fbc58bf476a30"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_support_1_1_collections_helper.html#a5bb3c089a27c8308646fbc58bf476a30">Add</a> (System.Collections.Hashtable hashtable, System.Object item)</td></tr>
<tr class="separator:a5bb3c089a27c8308646fbc58bf476a30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1c634157a4e2a10bbc4b3c2b63c8bcc"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_support_1_1_collections_helper.html#af1c634157a4e2a10bbc4b3c2b63c8bcc">AddIfNotContains</a> (System.Collections.Hashtable hashtable, System.Object item)</td></tr>
<tr class="separator:af1c634157a4e2a10bbc4b3c2b63c8bcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b46ff5fc67e88a9b68fe2231ba1a406"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_support_1_1_collections_helper.html#a1b46ff5fc67e88a9b68fe2231ba1a406">AddIfNotContains</a> (System.Collections.ArrayList hashtable, System.Object item)</td></tr>
<tr class="separator:a1b46ff5fc67e88a9b68fe2231ba1a406"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a557756f80487305fd685ece893b9914f"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_support_1_1_collections_helper.html#a557756f80487305fd685ece893b9914f">AddAll</a> (System.Collections.Hashtable hashtable, System.Collections.ICollection items)</td></tr>
<tr class="separator:a557756f80487305fd685ece893b9914f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3bc69bcacf8fdfdd779b12930fff500"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_support_1_1_collections_helper.html#aa3bc69bcacf8fdfdd779b12930fff500">AddAllIfNotContains</a> (System.Collections.Hashtable hashtable, System.Collections.IList items)</td></tr>
<tr class="separator:aa3bc69bcacf8fdfdd779b12930fff500"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ac4d8b9a9f47daec79d4dcea5caaf29"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_support_1_1_collections_helper.html#a4ac4d8b9a9f47daec79d4dcea5caaf29">AddAllIfNotContains</a> (System.Collections.Hashtable hashtable, System.Collections.ICollection items)</td></tr>
<tr class="separator:a4ac4d8b9a9f47daec79d4dcea5caaf29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3aad86552237d090f360ef4f14ea6473"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_support_1_1_collections_helper.html#a3aad86552237d090f360ef4f14ea6473">AddAllIfNotContains</a> (System.Collections.Generic.IDictionary&lt; string, string &gt; hashtable, System.Collections.Generic.ICollection&lt; string &gt; items)</td></tr>
<tr class="separator:a3aad86552237d090f360ef4f14ea6473"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2c22e68e2526893d0bf5df788f11aec"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_support_1_1_collections_helper.html#ab2c22e68e2526893d0bf5df788f11aec">AddAll</a> (System.Collections.Generic.IDictionary&lt; string, string &gt; hashtable, System.Collections.Generic.ICollection&lt; string &gt; items)</td></tr>
<tr class="separator:ab2c22e68e2526893d0bf5df788f11aec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a564f14ee83ab19ded4c3678a2d2bf235"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_support_1_1_collections_helper.html#a564f14ee83ab19ded4c3678a2d2bf235">Contains</a> (System.Collections.Generic.ICollection&lt; string &gt; col, string item)</td></tr>
<tr class="separator:a564f14ee83ab19ded4c3678a2d2bf235"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa84f6452ebf72e7e20250fa8fdcb6213"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_support_1_1_collections_helper.html#aa84f6452ebf72e7e20250fa8fdcb6213">Contains</a> (System.Collections.ICollection col, System.Object item)</td></tr>
<tr class="separator:aa84f6452ebf72e7e20250fa8fdcb6213"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3147180a16037cadaeac49ee2008e537"><td class="memItemLeft" align="right" valign="top">static System.String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_support_1_1_collections_helper.html#a3147180a16037cadaeac49ee2008e537">CollectionToString</a> (System.Collections.Generic.IDictionary&lt; string, string &gt; c)</td></tr>
<tr class="separator:a3147180a16037cadaeac49ee2008e537"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b4c487e25c243005b01a702ebdb5b8a"><td class="memItemLeft" align="right" valign="top">static System.String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_support_1_1_collections_helper.html#a1b4c487e25c243005b01a702ebdb5b8a">CollectionToString</a> (System.Collections.ICollection c)</td></tr>
<tr class="memdesc:a1b4c487e25c243005b01a702ebdb5b8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the specified collection to its string representation. <a href="#a1b4c487e25c243005b01a702ebdb5b8a"></a><br/></td></tr>
<tr class="separator:a1b4c487e25c243005b01a702ebdb5b8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac596781ddf5a733a24cd596e41d89247"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_support_1_1_collections_helper.html#ac596781ddf5a733a24cd596e41d89247">CompareStringArrays</a> (System.String[] l1, System.String[] l2)</td></tr>
<tr class="memdesc:ac596781ddf5a733a24cd596e41d89247"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares two string arrays for equality. <a href="#ac596781ddf5a733a24cd596e41d89247"></a><br/></td></tr>
<tr class="separator:ac596781ddf5a733a24cd596e41d89247"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b4e5e4f824bca47ba08ad7544b1876c"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_support_1_1_collections_helper.html#a1b4e5e4f824bca47ba08ad7544b1876c">Sort</a> (System.Collections.IList list, System.Collections.IComparer Comparator)</td></tr>
<tr class="memdesc:a1b4e5e4f824bca47ba08ad7544b1876c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sorts an IList collections <a href="#a1b4e5e4f824bca47ba08ad7544b1876c"></a><br/></td></tr>
<tr class="separator:a1b4e5e4f824bca47ba08ad7544b1876c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a991f1b1e01b73868b8c6d94b677dabb1"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_support_1_1_collections_helper.html#a991f1b1e01b73868b8c6d94b677dabb1">Fill</a> (System.Array array, System.Int32 fromindex, System.Int32 toindex, System.Object val)</td></tr>
<tr class="memdesc:a991f1b1e01b73868b8c6d94b677dabb1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills the array with an specific value from an specific index to an specific index. <a href="#a991f1b1e01b73868b8c6d94b677dabb1"></a><br/></td></tr>
<tr class="separator:a991f1b1e01b73868b8c6d94b677dabb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d7d176207384a5dc664549dffe4049e"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_support_1_1_collections_helper.html#a6d7d176207384a5dc664549dffe4049e">Fill</a> (System.Array array, System.Object val)</td></tr>
<tr class="memdesc:a6d7d176207384a5dc664549dffe4049e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills the array with an specific value. <a href="#a6d7d176207384a5dc664549dffe4049e"></a><br/></td></tr>
<tr class="separator:a6d7d176207384a5dc664549dffe4049e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cc860b9f0c1d52431d8209f583b78a7"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_support_1_1_collections_helper.html#a7cc860b9f0c1d52431d8209f583b78a7">Equals</a> (System.Array array1, System.Array array2)</td></tr>
<tr class="memdesc:a7cc860b9f0c1d52431d8209f583b78a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares the entire members of one array whith the other one. <a href="#a7cc860b9f0c1d52431d8209f583b78a7"></a><br/></td></tr>
<tr class="separator:a7cc860b9f0c1d52431d8209f583b78a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="namespace_lucene_1_1_net_1_1_support.html">Support</a> class used to handle Hashtable addition, which does a check first to make sure the added item is unique in the hash. </p>
<p>Definition at line <a class="el" href="core_2_support_2_collections_helper_8cs_source.html#l00031">31</a> of file <a class="el" href="core_2_support_2_collections_helper_8cs_source.html">CollectionsHelper.cs</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a5bb3c089a27c8308646fbc58bf476a30"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Lucene.Net.Support.CollectionsHelper.Add </td>
<td>(</td>
<td class="paramtype">System.Collections.Hashtable&#160;</td>
<td class="paramname"><em>hashtable</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.Object&#160;</td>
<td class="paramname"><em>item</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="core_2_support_2_collections_helper_8cs_source.html#l00033">33</a> of file <a class="el" href="core_2_support_2_collections_helper_8cs_source.html">CollectionsHelper.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a557756f80487305fd685ece893b9914f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Lucene.Net.Support.CollectionsHelper.AddAll </td>
<td>(</td>
<td class="paramtype">System.Collections.Hashtable&#160;</td>
<td class="paramname"><em>hashtable</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.Collections.ICollection&#160;</td>
<td class="paramname"><em>items</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="core_2_support_2_collections_helper_8cs_source.html#l00067">67</a> of file <a class="el" href="core_2_support_2_collections_helper_8cs_source.html">CollectionsHelper.cs</a>.</p>
</div>
</div>
<a class="anchor" id="ab2c22e68e2526893d0bf5df788f11aec"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Lucene.Net.Support.CollectionsHelper.AddAll </td>
<td>(</td>
<td class="paramtype">System.Collections.Generic.IDictionary&lt; string, string &gt;&#160;</td>
<td class="paramname"><em>hashtable</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.Collections.Generic.ICollection&lt; string &gt;&#160;</td>
<td class="paramname"><em>items</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="core_2_support_2_collections_helper_8cs_source.html#l00116">116</a> of file <a class="el" href="core_2_support_2_collections_helper_8cs_source.html">CollectionsHelper.cs</a>.</p>
</div>
</div>
<a class="anchor" id="aa3bc69bcacf8fdfdd779b12930fff500"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Lucene.Net.Support.CollectionsHelper.AddAllIfNotContains </td>
<td>(</td>
<td class="paramtype">System.Collections.Hashtable&#160;</td>
<td class="paramname"><em>hashtable</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.Collections.IList&#160;</td>
<td class="paramname"><em>items</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="core_2_support_2_collections_helper_8cs_source.html#l00078">78</a> of file <a class="el" href="core_2_support_2_collections_helper_8cs_source.html">CollectionsHelper.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a4ac4d8b9a9f47daec79d4dcea5caaf29"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Lucene.Net.Support.CollectionsHelper.AddAllIfNotContains </td>
<td>(</td>
<td class="paramtype">System.Collections.Hashtable&#160;</td>
<td class="paramname"><em>hashtable</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.Collections.ICollection&#160;</td>
<td class="paramname"><em>items</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="core_2_support_2_collections_helper_8cs_source.html#l00091">91</a> of file <a class="el" href="core_2_support_2_collections_helper_8cs_source.html">CollectionsHelper.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a3aad86552237d090f360ef4f14ea6473"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Lucene.Net.Support.CollectionsHelper.AddAllIfNotContains </td>
<td>(</td>
<td class="paramtype">System.Collections.Generic.IDictionary&lt; string, string &gt;&#160;</td>
<td class="paramname"><em>hashtable</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.Collections.Generic.ICollection&lt; string &gt;&#160;</td>
<td class="paramname"><em>items</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="core_2_support_2_collections_helper_8cs_source.html#l00105">105</a> of file <a class="el" href="core_2_support_2_collections_helper_8cs_source.html">CollectionsHelper.cs</a>.</p>
</div>
</div>
<a class="anchor" id="af1c634157a4e2a10bbc4b3c2b63c8bcc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Lucene.Net.Support.CollectionsHelper.AddIfNotContains </td>
<td>(</td>
<td class="paramtype">System.Collections.Hashtable&#160;</td>
<td class="paramname"><em>hashtable</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.Object&#160;</td>
<td class="paramname"><em>item</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="core_2_support_2_collections_helper_8cs_source.html#l00038">38</a> of file <a class="el" href="core_2_support_2_collections_helper_8cs_source.html">CollectionsHelper.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a1b46ff5fc67e88a9b68fe2231ba1a406"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Lucene.Net.Support.CollectionsHelper.AddIfNotContains </td>
<td>(</td>
<td class="paramtype">System.Collections.ArrayList&#160;</td>
<td class="paramname"><em>hashtable</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.Object&#160;</td>
<td class="paramname"><em>item</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="core_2_support_2_collections_helper_8cs_source.html#l00055">55</a> of file <a class="el" href="core_2_support_2_collections_helper_8cs_source.html">CollectionsHelper.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a3147180a16037cadaeac49ee2008e537"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static System.String Lucene.Net.Support.CollectionsHelper.CollectionToString </td>
<td>(</td>
<td class="paramtype">System.Collections.Generic.IDictionary&lt; string, string &gt;&#160;</td>
<td class="paramname"><em>c</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="core_2_support_2_collections_helper_8cs_source.html#l00142">142</a> of file <a class="el" href="core_2_support_2_collections_helper_8cs_source.html">CollectionsHelper.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a1b4c487e25c243005b01a702ebdb5b8a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static System.String Lucene.Net.Support.CollectionsHelper.CollectionToString </td>
<td>(</td>
<td class="paramtype">System.Collections.ICollection&#160;</td>
<td class="paramname"><em>c</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts the specified collection to its string representation. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">c</td><td>The collection to convert to string.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A string representation of the specified collection.</dd></dl>
<p>Definition at line <a class="el" href="core_2_support_2_collections_helper_8cs_source.html#l00157">157</a> of file <a class="el" href="core_2_support_2_collections_helper_8cs_source.html">CollectionsHelper.cs</a>.</p>
</div>
</div>
<a class="anchor" id="ac596781ddf5a733a24cd596e41d89247"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static bool Lucene.Net.Support.CollectionsHelper.CompareStringArrays </td>
<td>(</td>
<td class="paramtype">System.String[]&#160;</td>
<td class="paramname"><em>l1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.String[]&#160;</td>
<td class="paramname"><em>l2</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Compares two string arrays for equality. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">l1</td><td>First string array list to compare</td></tr>
<tr><td class="paramname">l2</td><td>Second string array list to compare</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the strings are equal in both arrays, false otherwise</dd></dl>
<p>Definition at line <a class="el" href="core_2_support_2_collections_helper_8cs_source.html#l00218">218</a> of file <a class="el" href="core_2_support_2_collections_helper_8cs_source.html">CollectionsHelper.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a564f14ee83ab19ded4c3678a2d2bf235"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static bool Lucene.Net.Support.CollectionsHelper.Contains </td>
<td>(</td>
<td class="paramtype">System.Collections.Generic.ICollection&lt; string &gt;&#160;</td>
<td class="paramname"><em>col</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>item</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="core_2_support_2_collections_helper_8cs_source.html#l00124">124</a> of file <a class="el" href="core_2_support_2_collections_helper_8cs_source.html">CollectionsHelper.cs</a>.</p>
</div>
</div>
<a class="anchor" id="aa84f6452ebf72e7e20250fa8fdcb6213"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static bool Lucene.Net.Support.CollectionsHelper.Contains </td>
<td>(</td>
<td class="paramtype">System.Collections.ICollection&#160;</td>
<td class="paramname"><em>col</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.Object&#160;</td>
<td class="paramname"><em>item</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="core_2_support_2_collections_helper_8cs_source.html#l00130">130</a> of file <a class="el" href="core_2_support_2_collections_helper_8cs_source.html">CollectionsHelper.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a7cc860b9f0c1d52431d8209f583b78a7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static bool Lucene.Net.Support.CollectionsHelper.Equals </td>
<td>(</td>
<td class="paramtype">System.Array&#160;</td>
<td class="paramname"><em>array1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.Array&#160;</td>
<td class="paramname"><em>array2</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Compares the entire members of one array whith the other one. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">array1</td><td>The array to be compared.</td></tr>
<tr><td class="paramname">array2</td><td>The array to be compared with.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns true if the two specified arrays of Objects are equal to one another. The two arrays are considered equal if both arrays contain the same number of elements, and all corresponding pairs of elements in the two arrays are equal. Two objects e1 and e2 are considered equal if (e1==null ? e2==null : e1.equals(e2)). In other words, the two arrays are equal if they contain the same elements in the same order. Also, two array references are considered equal if both are null.</dd></dl>
<p>Definition at line <a class="el" href="core_2_support_2_collections_helper_8cs_source.html#l00311">311</a> of file <a class="el" href="core_2_support_2_collections_helper_8cs_source.html">CollectionsHelper.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a991f1b1e01b73868b8c6d94b677dabb1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Lucene.Net.Support.CollectionsHelper.Fill </td>
<td>(</td>
<td class="paramtype">System.Array&#160;</td>
<td class="paramname"><em>array</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.Int32&#160;</td>
<td class="paramname"><em>fromindex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.Int32&#160;</td>
<td class="paramname"><em>toindex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.Object&#160;</td>
<td class="paramname"><em>val</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Fills the array with an specific value from an specific index to an specific index. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">array</td><td>The array to be filled.</td></tr>
<tr><td class="paramname">fromindex</td><td>The first index to be filled.</td></tr>
<tr><td class="paramname">toindex</td><td>The last index to be filled.</td></tr>
<tr><td class="paramname">val</td><td>The value to fill the array with.</td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="core_2_support_2_collections_helper_8cs_source.html#l00271">271</a> of file <a class="el" href="core_2_support_2_collections_helper_8cs_source.html">CollectionsHelper.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a6d7d176207384a5dc664549dffe4049e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Lucene.Net.Support.CollectionsHelper.Fill </td>
<td>(</td>
<td class="paramtype">System.Array&#160;</td>
<td class="paramname"><em>array</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.Object&#160;</td>
<td class="paramname"><em>val</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Fills the array with an specific value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">array</td><td>The array to be filled.</td></tr>
<tr><td class="paramname">val</td><td>The value to fill the array with.</td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="core_2_support_2_collections_helper_8cs_source.html#l00293">293</a> of file <a class="el" href="core_2_support_2_collections_helper_8cs_source.html">CollectionsHelper.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a1b4e5e4f824bca47ba08ad7544b1876c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Lucene.Net.Support.CollectionsHelper.Sort </td>
<td>(</td>
<td class="paramtype">System.Collections.IList&#160;</td>
<td class="paramname"><em>list</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.Collections.IComparer&#160;</td>
<td class="paramname"><em>Comparator</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sorts an IList collections </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">list</td><td>The System.Collections.IList instance that will be sorted</td></tr>
<tr><td class="paramname">Comparator</td><td>The Comparator criteria, null to use natural comparator.</td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="core_2_support_2_collections_helper_8cs_source.html#l00235">235</a> of file <a class="el" href="core_2_support_2_collections_helper_8cs_source.html">CollectionsHelper.cs</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>core/Support/<a class="el" href="core_2_support_2_collections_helper_8cs_source.html">CollectionsHelper.cs</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Jan 3 2013 02:12:59 for Lucene.Net by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3
</small></address>
</body>
</html>