506 lines
26 KiB
HTML
506 lines
26 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="nl">
|
|
<head>
|
|
<!-- Generated by javadoc (version 1.7.0_40) on Tue Oct 15 12:25:34 CEST 2013 -->
|
|
<title>KeyedCollection</title>
|
|
<meta name="date" content="2013-10-15">
|
|
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="KeyedCollection";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar_top">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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/KeyedCollection.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-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../System/Collections/ObjectModel/Collection.html" title="class in System.Collections.ObjectModel"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../System/Collections/ObjectModel/ReadOnlyCollection.html" title="class in System.Collections.ObjectModel"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?System/Collections/ObjectModel/KeyedCollection.html" target="_top">Frames</a></li>
|
|
<li><a href="KeyedCollection.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </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">System.Collections.ObjectModel</div>
|
|
<h2 title="Class KeyedCollection" class="title">Class KeyedCollection<TKey,TItem></h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li><a href="../../../System/Collections/ObjectModel/Collection.html" title="class in System.Collections.ObjectModel">System.Collections.ObjectModel.Collection</a><TItem></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>System.Collections.ObjectModel.KeyedCollection<TKey,TItem></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>TKey</code> - The type of keys in the collection.</dd><dd><code>TItem</code> - The type of items in the collection.</dd></dl>
|
|
<dl>
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd>java.lang.Iterable<TItem></dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public abstract class <span class="strong">KeyedCollection<TKey,TItem></span>
|
|
extends <a href="../../../System/Collections/ObjectModel/Collection.html" title="class in System.Collections.ObjectModel">Collection</a><TItem></pre>
|
|
<div class="block">Provides the abstract base class for a collection whose keys are embedded in the values.</div>
|
|
<dl><dt><span class="strong">Author:</span></dt>
|
|
<dd>Halofreak1990</dd></dl>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier</th>
|
|
<th class="colLast" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected </code></td>
|
|
<td class="colLast"><code><strong><a href="../../../System/Collections/ObjectModel/KeyedCollection.html#KeyedCollection()">KeyedCollection</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected </code></td>
|
|
<td class="colLast"><code><strong><a href="../../../System/Collections/ObjectModel/KeyedCollection.html#KeyedCollection(System.Collections.Generic.IEqualityComparer)">KeyedCollection</a></strong>(<a href="../../../System/Collections/Generic/IEqualityComparer.html" title="interface in System.Collections.Generic">IEqualityComparer</a><<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TKey</a>> comparer)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected </code></td>
|
|
<td class="colLast"><code><strong><a href="../../../System/Collections/ObjectModel/KeyedCollection.html#KeyedCollection(System.Collections.Generic.IEqualityComparer, int)">KeyedCollection</a></strong>(<a href="../../../System/Collections/Generic/IEqualityComparer.html" title="interface in System.Collections.Generic">IEqualityComparer</a><<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TKey</a>> comparer,
|
|
int dictionaryCreationThreshold)</code> </td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../System/Collections/ObjectModel/KeyedCollection.html#ChangeItemKey(TItem, TKey)">ChangeItemKey</a></strong>(<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TItem</a> item,
|
|
<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TKey</a> newKey)</code>
|
|
<div class="block">Changes the key associated with the specified element in the lookup dictionary.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../System/Collections/ObjectModel/KeyedCollection.html#ClearItems()">ClearItems</a></strong>()</code>
|
|
<div class="block">Removes all elements from the Collection<>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../System/Collections/ObjectModel/KeyedCollection.html#Contains(TKey)">Contains</a></strong>(<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TKey</a> key)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TItem</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../System/Collections/ObjectModel/KeyedCollection.html#get(TKey)">get</a></strong>(<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TKey</a> key)</code>
|
|
<div class="block">Gets the element with the specified key.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../System/Collections/Generic/IEqualityComparer.html" title="interface in System.Collections.Generic">IEqualityComparer</a><<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TKey</a>></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../System/Collections/ObjectModel/KeyedCollection.html#getComparer()">getComparer</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected java.util.Map<<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TKey</a>,<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TItem</a>></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../System/Collections/ObjectModel/KeyedCollection.html#getDictionary()">getDictionary</a></strong>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected abstract <a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TKey</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../System/Collections/ObjectModel/KeyedCollection.html#GetKeyForItem(TItem)">GetKeyForItem</a></strong>(<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TItem</a> item)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../System/Collections/ObjectModel/KeyedCollection.html#InsertItem(int, TItem)">InsertItem</a></strong>(int index,
|
|
<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TItem</a> item)</code>
|
|
<div class="block">Inserts an element into the Collection<> at the specified index.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../System/Collections/ObjectModel/KeyedCollection.html#Remove(TKey)">Remove</a></strong>(<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TKey</a> key)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../System/Collections/ObjectModel/KeyedCollection.html#RemoveItem(int)">RemoveItem</a></strong>(int index)</code>
|
|
<div class="block">Removes the element at the specified index of the Collection<>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../System/Collections/ObjectModel/KeyedCollection.html#SetItem(int, TItem)">SetItem</a></strong>(int index,
|
|
<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TItem</a> item)</code>
|
|
<div class="block">Replaces the element at the specified index.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_System.Collections.ObjectModel.Collection">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class System.Collections.ObjectModel.<a href="../../../System/Collections/ObjectModel/Collection.html" title="class in System.Collections.ObjectModel">Collection</a></h3>
|
|
<code><a href="../../../System/Collections/ObjectModel/Collection.html#Add(T)">Add</a>, <a href="../../../System/Collections/ObjectModel/Collection.html#Clear()">Clear</a>, <a href="../../../System/Collections/ObjectModel/Collection.html#Count()">Count</a>, <a href="../../../System/Collections/ObjectModel/Collection.html#get(int)">get</a>, <a href="../../../System/Collections/ObjectModel/Collection.html#getItems()">getItems</a>, <a href="../../../System/Collections/ObjectModel/Collection.html#IndexOf(T)">IndexOf</a>, <a href="../../../System/Collections/ObjectModel/Collection.html#Insert(int, T)">Insert</a>, <a href="../../../System/Collections/ObjectModel/Collection.html#iterator()">iterator</a>, <a href="../../../System/Collections/ObjectModel/Collection.html#Remove(T)">Remove</a>, <a href="../../../System/Collections/ObjectModel/Collection.html#set(int, T)">set</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 java.lang.Object</h3>
|
|
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="KeyedCollection()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>KeyedCollection</h4>
|
|
<pre>protected KeyedCollection()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="KeyedCollection(System.Collections.Generic.IEqualityComparer)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>KeyedCollection</h4>
|
|
<pre>protected KeyedCollection(<a href="../../../System/Collections/Generic/IEqualityComparer.html" title="interface in System.Collections.Generic">IEqualityComparer</a><<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TKey</a>> comparer)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="KeyedCollection(System.Collections.Generic.IEqualityComparer, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>KeyedCollection</h4>
|
|
<pre>protected KeyedCollection(<a href="../../../System/Collections/Generic/IEqualityComparer.html" title="interface in System.Collections.Generic">IEqualityComparer</a><<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TKey</a>> comparer,
|
|
int dictionaryCreationThreshold)</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="getComparer()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getComparer</h4>
|
|
<pre>public <a href="../../../System/Collections/Generic/IEqualityComparer.html" title="interface in System.Collections.Generic">IEqualityComparer</a><<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TKey</a>> getComparer()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getDictionary()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDictionary</h4>
|
|
<pre>protected java.util.Map<<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TKey</a>,<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TItem</a>> getDictionary()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="get(java.lang.Object)">
|
|
<!-- -->
|
|
</a><a name="get(TKey)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>get</h4>
|
|
<pre>public <a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TItem</a> get(<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TKey</a> key)</pre>
|
|
<div class="block">Gets the element with the specified key.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - The key of the element to get.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>The element with the specified key. If an element with the specified key is not found, an exception is thrown.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="../../../System/ArgumentNullException.html" title="class in System">ArgumentNullException</a></code> - key is null.</dd>
|
|
<dd><code><a href="../../../System/Collections/Generic/KeyNotFoundException.html" title="class in System.Collections.Generic">KeyNotFoundException</a></code> - An element with the specified key does not exist in the collection.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="ChangeItemKey(java.lang.Object,java.lang.Object)">
|
|
<!-- -->
|
|
</a><a name="ChangeItemKey(TItem, TKey)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ChangeItemKey</h4>
|
|
<pre>protected void ChangeItemKey(<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TItem</a> item,
|
|
<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TKey</a> newKey)</pre>
|
|
<div class="block">Changes the key associated with the specified element in the lookup dictionary.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>item</code> - The element to change the key of.</dd><dd><code>newKey</code> - The new key for item.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="../../../System/ArgumentNullException.html" title="class in System">ArgumentNullException</a></code> - item is null.-or-newKey is null.</dd>
|
|
<dd><code><a href="../../../System/ArgumentException.html" title="class in System">ArgumentException</a></code> - item is not found.-or-newKey already exists in the System.Collections.ObjectModel.KeyedCollection<T1,T2>.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="ClearItems()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ClearItems</h4>
|
|
<pre>protected void ClearItems()</pre>
|
|
<div class="block"><strong>Description copied from class: <code><a href="../../../System/Collections/ObjectModel/Collection.html#ClearItems()">Collection</a></code></strong></div>
|
|
<div class="block">Removes all elements from the Collection<>.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../System/Collections/ObjectModel/Collection.html#ClearItems()">ClearItems</a></code> in class <code><a href="../../../System/Collections/ObjectModel/Collection.html" title="class in System.Collections.ObjectModel">Collection</a><<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TItem</a>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Contains(java.lang.Object)">
|
|
<!-- -->
|
|
</a><a name="Contains(TKey)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Contains</h4>
|
|
<pre>public boolean Contains(<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TKey</a> key)</pre>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - </dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="GetKeyForItem(java.lang.Object)">
|
|
<!-- -->
|
|
</a><a name="GetKeyForItem(TItem)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>GetKeyForItem</h4>
|
|
<pre>protected abstract <a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TKey</a> GetKeyForItem(<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TItem</a> item)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="InsertItem(int,java.lang.Object)">
|
|
<!-- -->
|
|
</a><a name="InsertItem(int, TItem)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>InsertItem</h4>
|
|
<pre>protected void InsertItem(int index,
|
|
<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TItem</a> item)</pre>
|
|
<div class="block"><strong>Description copied from class: <code><a href="../../../System/Collections/ObjectModel/Collection.html#InsertItem(int, T)">Collection</a></code></strong></div>
|
|
<div class="block">Inserts an element into the Collection<> at the specified index.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../System/Collections/ObjectModel/Collection.html#InsertItem(int, T)">InsertItem</a></code> in class <code><a href="../../../System/Collections/ObjectModel/Collection.html" title="class in System.Collections.ObjectModel">Collection</a><<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TItem</a>></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The object to insert. The value can be null for reference types.</dd><dd><code>item</code> - The zero-based index at which item should be inserted.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="Remove(java.lang.Object)">
|
|
<!-- -->
|
|
</a><a name="Remove(TKey)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>Remove</h4>
|
|
<pre>public boolean Remove(<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TKey</a> key)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="RemoveItem(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>RemoveItem</h4>
|
|
<pre>protected void RemoveItem(int index)</pre>
|
|
<div class="block"><strong>Description copied from class: <code><a href="../../../System/Collections/ObjectModel/Collection.html#RemoveItem(int)">Collection</a></code></strong></div>
|
|
<div class="block">Removes the element at the specified index of the Collection<>.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../System/Collections/ObjectModel/Collection.html#RemoveItem(int)">RemoveItem</a></code> in class <code><a href="../../../System/Collections/ObjectModel/Collection.html" title="class in System.Collections.ObjectModel">Collection</a><<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TItem</a>></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The zero-based index of the element to remove.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="SetItem(int,java.lang.Object)">
|
|
<!-- -->
|
|
</a><a name="SetItem(int, TItem)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>SetItem</h4>
|
|
<pre>protected void SetItem(int index,
|
|
<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TItem</a> item)</pre>
|
|
<div class="block"><strong>Description copied from class: <code><a href="../../../System/Collections/ObjectModel/Collection.html#SetItem(int, T)">Collection</a></code></strong></div>
|
|
<div class="block">Replaces the element at the specified index.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="../../../System/Collections/ObjectModel/Collection.html#SetItem(int, T)">SetItem</a></code> in class <code><a href="../../../System/Collections/ObjectModel/Collection.html" title="class in System.Collections.ObjectModel">Collection</a><<a href="../../../System/Collections/ObjectModel/KeyedCollection.html" title="type parameter in KeyedCollection">TItem</a>></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The zero-based index of the element to replace.</dd><dd><code>item</code> - The new value for the element at the specified index. The value can be null for reference types.</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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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/KeyedCollection.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-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../System/Collections/ObjectModel/Collection.html" title="class in System.Collections.ObjectModel"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../System/Collections/ObjectModel/ReadOnlyCollection.html" title="class in System.Collections.ObjectModel"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?System/Collections/ObjectModel/KeyedCollection.html" target="_top">Frames</a></li>
|
|
<li><a href="KeyedCollection.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../allclasses-noframe.html">All 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: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</body>
|
|
</html>
|