DictionarySet Class |
Namespace: Tangosol.Util.Collections
public class DictionarySet : ICollection, IEnumerable, ISerializable
The DictionarySet type exposes the following members.
Name | Description | |
---|---|---|
![]() | DictionarySet |
Default constructor. By default, HashDictionary is the underlying
Dictionary. If that is not the desired behavior, then pass an
explicit Dictionary to the DictionarySet constructor. To
change the default Dictionary implementation, sub-class the
DictionarySet and override the
InstantiateDictionary
method.
|
![]() | DictionarySet(ICollection) |
Create and populate a new DictionarySet with the given
collection of elements.
|
![]() | DictionarySet(IDictionary) |
Create a new DictionarySet that uses the specified IDictionary to
store its elements.
|
![]() | DictionarySet(SerializationInfo, StreamingContext) |
Initializes a new instance of the DictionarySet class using the
specified
SerializationInfo
and StreamingContext.
|
Name | Description | |
---|---|---|
![]() | Count |
Gets the number of elements in this collection.
|
![]() | IsSynchronized |
Gets a value indicating whether access to this collection is
thread-safe.
|
![]() | SyncRoot |
Get an object that can be used to synchronize access to this
collection.
|
Name | Description | |
---|---|---|
![]() | Add |
Adds an element to the set and returns a value to indicate if the
element was successfully added.
|
![]() | Clear |
Remove all elements from the set.
|
![]() | Contains |
Determine whether the set contains a specific element.
|
![]() | CopyTo |
Copy elements from this collection into the one-dimensional array.
|
![]() | Equals(Object) |
Determines whether the specified object is equal to this object.
(Overrides ObjectEquals(Object).) |
![]() | Equals(DictionarySet) |
Compares this set with another set for equality.
|
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetEnumerator |
Return an IEnumerator that iterates through this collection.
|
![]() | GetHashCode |
Returns a hash code for this object.
(Overrides ObjectGetHashCode.) |
![]() | GetObjectData |
Populates SerializationInfo with the data needed to serialize this
object.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | InstantiateDictionary |
Factory pattern: Provide an underlying dictionary for this Set
implementation.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Remove |
Remove the specified element from the set.
|
![]() | ToString |
Returns string representation of this instance.
(Overrides ObjectToString.) |