NullImplementationNullDictionary Class |
Namespace: Tangosol.Util
public class NullDictionary : NullImplementationNullCollection, IDictionary, ICollection, IEnumerable
The NullImplementationNullDictionary type exposes the following members.
| Name | Description | |
|---|---|---|
| NullImplementationNullDictionary | Initializes a new instance of the NullImplementationNullDictionary class |
| Name | Description | |
|---|---|---|
| Count |
Gets the number of elements contained in the collection.
(Inherited from NullImplementationNullCollection.) | |
| IsFixedSize |
Gets a value indicating whether the dictionary object has a
fixed size.
| |
| IsReadOnly |
Gets a value indicating whether the dictionary object is
read-only.
| |
| IsSynchronized |
Gets a value indicating whether access to the collection is
synchronized (thread safe).
(Inherited from NullImplementationNullCollection.) | |
| Item |
Gets or sets the element with the specified key.
| |
| Keys |
Gets an ICollection object containing the keys of the
dictionary.
| |
| SyncRoot |
Gets an object that can be used to synchronize access to the
collection.
(Inherited from NullImplementationNullCollection.) | |
| Values |
Gets an ICollection object containing the values in the
dictionary.
|
| Name | Description | |
|---|---|---|
| Add |
Adds an element with the provided key and value to the
dictionary.
| |
| Clear |
Removes all elements from the dictionary.
| |
| Contains |
Determines whether the dictionary object contains an element
with the specified key.
| |
| CopyTo |
Copies the elements of the collection to an Array,
starting at a particular array index.
(Inherited from NullImplementationNullCollection.) | |
| Equals |
Compares this object with another object for equality.
(Overrides NullImplementationNullCollectionEquals(Object).) | |
| 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 |
Returns an enumerator that iterates through a collection.
(Inherited from NullImplementationNullCollection.) | |
| GetHashCode |
Returns a hash code value for this object.
(Overrides NullImplementationNullCollectionGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ReadExternal |
Restore the contents of a user type instance by reading its
state using the specified IPofReader object.
(Inherited from NullImplementationNullCollection.) | |
| Remove |
Removes the element with the specified key from the
dictionary.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| WriteExternal |
Save the contents of a POF user type instance by writing its
state using the specified IPofWriter object.
(Inherited from NullImplementationNullCollection.) |
| Name | Description | |
|---|---|---|
| Instance |
Since the dictionary contains no information, only one ever
has to exist.
|