📄 iesi.collections.xml
字号:
Neither this set nor the input set are modified during the operation. The return value
is a <c>Clone()</c> of this set with the extra elements added in.
</summary>
<param name="a">A collection of elements.</param>
<returns>A new <c>Set</c> containing the union of this <c>Set</c> with the specified collection.
Neither of the input objects is modified by the union.</returns>
</member>
<member name="M:Iesi.Collections.ImmutableSet.Intersect(Iesi.Collections.ISet)">
<summary>
Performs an "intersection" of the two sets, where only the elements
that are present in both sets remain. That is, the element is included if it exists in
both sets. The <c>Intersect()</c> operation does not modify the input sets. It returns
a <c>Clone()</c> of this set with the appropriate elements removed.
</summary>
<param name="a">A set of elements.</param>
<returns>The intersection of this set with <c>a</c>.</returns>
</member>
<member name="M:Iesi.Collections.ImmutableSet.Minus(Iesi.Collections.ISet)">
<summary>
Performs a "minus" of set <c>b</c> from set <c>a</c>. This returns a set of all
the elements in set <c>a</c>, removing the elements that are also in set <c>b</c>.
The original sets are not modified during this operation. The result set is a <c>Clone()</c>
of this <c>Set</c> containing the elements from the operation.
</summary>
<param name="a">A set of elements.</param>
<returns>A set containing the elements from this set with the elements in <c>a</c> removed.</returns>
</member>
<member name="M:Iesi.Collections.ImmutableSet.ExclusiveOr(Iesi.Collections.ISet)">
<summary>
Performs an "exclusive-or" of the two sets, keeping only the elements that
are in one of the sets, but not in both. The original sets are not modified
during this operation. The result set is a <c>Clone()</c> of this set containing
the elements from the exclusive-or operation.
</summary>
<param name="a">A set of elements.</param>
<returns>A set containing the result of <c>a ^ b</c>.</returns>
</member>
<member name="P:Iesi.Collections.ImmutableSet.IsEmpty">
<summary>
Returns <c>true</c> if this set contains no elements.
</summary>
</member>
<member name="P:Iesi.Collections.ImmutableSet.Count">
<summary>
The number of elements contained in this collection.
</summary>
</member>
<member name="P:Iesi.Collections.ImmutableSet.IsSynchronized">
<summary>
Returns an object that can be used to synchronize use of the <c>Set</c> across threads.
</summary>
</member>
<member name="P:Iesi.Collections.ImmutableSet.SyncRoot">
<summary>
Returns an object that can be used to synchronize the <c>Set</c> between threads.
</summary>
</member>
<member name="T:Iesi.Collections.ListSet">
<summary>
Implements a <c>Set</c> based on a list. Performance is much better for very small lists
than either <c>HashedSet</c> or <c>SortedSet</c>. However, performance degrades rapidly as
the data-set gets bigger. Use a <c>HybridSet</c> instead if you are not sure your data-set
will always remain very small. Iteration produces elements in the order they were added.
However, element order is not guaranteed to be maintained by the various <c>Set</c>
mathematical operators.
</summary>
</member>
<member name="M:Iesi.Collections.ListSet.#ctor">
<summary>
Creates a new set instance based on a list.
</summary>
</member>
<member name="M:Iesi.Collections.ListSet.#ctor(System.Collections.ICollection)">
<summary>
Creates a new set instance based on a list and
initializes it based on a collection of elements.
</summary>
<param name="initialValues">A collection of elements that defines the initial set contents.</param>
</member>
<member name="T:Iesi.Collections.SortedSet">
<summary>
Implements a <c>Set</c> based on a sorted tree. This gives good performance for operations on very
large data-sets, though not as good - asymptotically - as a <c>HashedSet</c>. However, iteration
occurs in order. Elements that you put into this type of collection must implement <c>IComparable</c>,
and they must actually be comparable. You can't mix <c>string</c> and <c>int</c> values, for example.
</summary>
</member>
<member name="M:Iesi.Collections.SortedSet.#ctor">
<summary>
Creates a new set instance based on a sorted tree.
</summary>
</member>
<member name="M:Iesi.Collections.SortedSet.#ctor(System.Collections.IComparer)">
<summary>
Creates a new set instance based on a sorted tree.
</summary>
<param name="comparer">The <see cref="T:System.Collections.IComparer"/> to use for sorting.</param>
</member>
<member name="M:Iesi.Collections.SortedSet.#ctor(System.Collections.ICollection)">
<summary>
Creates a new set instance based on a sorted tree and
initializes it based on a collection of elements.
</summary>
<param name="initialValues">A collection of elements that defines the initial set contents.</param>
</member>
<member name="M:Iesi.Collections.SortedSet.#ctor(System.Collections.ICollection,System.Collections.IComparer)">
<summary>
Creates a new set instance based on a sorted tree and
initializes it based on a collection of elements.
</summary>
<param name="initialValues">A collection of elements that defines the initial set contents.</param>
<param name="comparer">The <see cref="T:System.Collections.IComparer"/> to use for sorting.</param>
</member>
<member name="T:Iesi.Collections.SynchronizedSet">
<summary>
<p>Implements a thread-safe <c>Set</c> wrapper. The implementation is extremely conservative,
serializing critical sections to prevent possible deadlocks, and locking on everything.
The one exception is for enumeration, which is inherently not thread-safe. For this, you
have to <c>lock</c> the <c>SyncRoot</c> object for the duration of the enumeration.</p>
</summary>
</member>
<member name="M:Iesi.Collections.SynchronizedSet.#ctor(Iesi.Collections.ISet)">
<summary>
Constructs a thread-safe <c>Set</c> wrapper.
</summary>
<param name="basisSet">The <c>Set</c> object that this object will wrap.</param>
</member>
<member name="M:Iesi.Collections.SynchronizedSet.Add(System.Object)">
<summary>
Adds the specified element to this set if it is not already present.
</summary>
<param name="o">The object to add to the set.</param>
<returns><c>true</c> is the object was added, <c>false</c> if it was already present.</returns>
</member>
<member name="M:Iesi.Collections.SynchronizedSet.AddAll(System.Collections.ICollection)">
<summary>
Adds all the elements in the specified collection to the set if they are not already present.
</summary>
<param name="c">A collection of objects to add to the set.</param>
<returns><c>true</c> is the set changed as a result of this operation, <c>false</c> if not.</returns>
</member>
<member name="M:Iesi.Collections.SynchronizedSet.Clear">
<summary>
Removes all objects from the set.
</summary>
</member>
<member name="M:Iesi.Collections.SynchronizedSet.Contains(System.Object)">
<summary>
Returns <c>true</c> if this set contains the specified element.
</summary>
<param name="o">The element to look for.</param>
<returns><c>true</c> if this set contains the specified element, <c>false</c> otherwise.</returns>
</member>
<member name="M:Iesi.Collections.SynchronizedSet.ContainsAll(System.Collections.ICollection)">
<summary>
Returns <c>true</c> if the set contains all the elements in the specified collection.
</summary>
<param name="c">A collection of objects.</param>
<returns><c>true</c> if the set contains all the elements in the specified collection, <c>false</c> otherwise.</returns>
</member>
<member name="M:Iesi.Collections.SynchronizedSet.Remove(System.Object)">
<summary>
Removes the specified element from the set.
</summary>
<param name="o">The element to be removed.</param>
<returns><c>true</c> if the set contained the specified element, <c>false</c> otherwise.</returns>
</member>
<member name="M:Iesi.Collections.SynchronizedSet.RemoveAll(System.Collections.ICollection)">
<summary>
Remove all the specified elements from this set, if they exist in this set.
</summary>
<param name="c">A collection of elements to remove.</param>
<returns><c>true</c> if the set was modified as a result of this operation.</returns>
</member>
<member name="M:Iesi.Collections.SynchronizedSet.RetainAll(System.Collections.ICollection)">
<summary>
Retains only the elements in this set that are contained in the specified collection.
</summary>
<param name="c">Collection that defines the set of elements to be retained.</param>
<returns><c>true</c> if this set changed as a result of this operation.</returns>
</member>
<member name="M:Iesi.Collections.SynchronizedSet.CopyTo(System.Array,System.Int32)">
<summary>
Copies the elements in the <c>Set</c> to an array. The type of array needs
to be compatible with the objects in the <c>Set</c>, obviously.
</summary>
<param name="array">An array that will be the target of the copy operation.</param>
<param name="index">The zero-based index where copying will start.</param>
</member>
<member name="M:Iesi.Collections.SynchronizedSet.GetEnumerator">
<summary>
Enumeration is, by definition, not thread-safe. Use a <c>lock</c> on the <c>SyncRoot</c>
to synchronize the entire enumeration process.
</summary>
<returns></returns>
</member>
<member name="M:Iesi.Collections.SynchronizedSet.Clone">
<summary>
Returns a clone of the <c>Set</c> instance.
</summary>
<returns>A clone of this object.</returns>
</member>
<member name="P:Iesi.Collections.SynchronizedSet.IsEmpty">
<summary>
Returns <c>true</c> if this set contains no elements.
</summary>
</member>
<member name="P:Iesi.Collections.SynchronizedSet.Count">
<summary>
The number of elements contained in this collection.
</summary>
</member>
<member name="P:Iesi.Collections.SynchronizedSet.IsSynchronized">
<summary>
Returns <c>true</c>, indicating that this object is thread-safe. The exception to this
is enumeration, which is inherently not thread-safe. Use the <c>SyncRoot</c> object to
lock this object for the entire duration of the enumeration.
</summary>
</member>
<member name="P:Iesi.Collections.SynchronizedSet.SyncRoot">
<summary>
Returns an object that can be used to synchronize the <c>Set</c> between threads.
</summary>
</member>
</members>
</doc>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -