Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02

The SortedDictionary type exposes the following members.

Constructors

  NameDescription
Public methodSortedDictionary()()()()
Initializes a new instance of the SortedDictionary class that is empty, has the default initial capacity, and is sorted according to the IComparable interface implemented by each key added to the SortedDictionary object.
Public methodSortedDictionary(IComparer)
Initializes a new instance of the SortedDictionary class that is empty, has the default initial capacity, and is sorted according to the specified IComparer interface.
Public methodSortedDictionary(IDictionary)
Initializes a new instance of the SortedDictionary class that contains elements copied from the specified dictionary, has the same initial capacity as the number of elements copied, and is sorted according to the IComparable interface implemented by each key.
Public methodSortedDictionary(Int32)
Initializes a new instance of the SortedDictionary class that is empty, has the specified initial capacity, and is sorted according to the IComparable interface implemented by each key added to the SortedDictionary object.
Public methodSortedDictionary(IComparer, Int32)
Initializes a new instance of the SortedDictionary class that is empty, has the specified initial capacity, and is sorted according to the specified IComparer interface.
Public methodSortedDictionary(IDictionary, IComparer)
Initializes a new instance of the SortedDictionary class that contains elements copied from the specified dictionary, has the same initial capacity as the number of elements copied, and is sorted according to the specified IComparer interface.
Protected methodSortedDictionary(SerializationInfo, StreamingContext)
Initializes a new instance of the SortedDictionary class that is serializable using the specified SerializationInfo and StreamingContext objects.

Methods

  NameDescription
Public methodAdd
Adds an element with the provided key and value to the IDictionary object.
(Overrides SortedList..::..Add(Object, Object).)
Protected methodAssertIsVariableSize
Throw an exception if this dictionary is fixed size.
Protected methodAssertIsWriteable
Throw an exception if this dictionary is read-only.
Public methodClear
Removes all elements from the IDictionary object.
(Overrides SortedList..::..Clear()()()().)
Public methodClone
Creates a new object that is a copy of the current instance.
(Overrides SortedList..::..Clone()()()().)
Public methodContains
Determines whether this dictionary contains an entry with the specified key.
(Overrides SortedList..::..Contains(Object).)
Public methodContainsKey
Determines whether the SortedDictionary contains a specific key.
(Overrides SortedList..::..ContainsKey(Object).)
Public methodContainsValue
Determines whether the SortedDictionary contains a specific value.
(Overrides SortedList..::..ContainsValue(Object).)
Public methodCopyTo
Copies the elements of the collection to an array, starting at a particular array index.
(Overrides SortedList..::..CopyTo(Array, Int32).)
Public methodEquals(IDictionary)
Compares this dictionary with another dictionary for equality.
Public methodEquals(Object)
Determines whether the specified object is equal to this object.
(Overrides Object..::..Equals(Object).)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetByIndex
Gets the value at the specified index of a SortedList object.
(Inherited from SortedList.)
Public methodGetEnumerator
Returns an IDictionaryEnumerator object for this dictionary.
(Overrides SortedList..::..GetEnumerator()()()().)
Public methodGetHashCode
Returns a hash code for this object.
(Overrides Object..::..GetHashCode()()()().)
Public methodGetKey
Gets the key at the specified index of a SortedList object.
(Inherited from SortedList.)
Public methodGetKeyList
Gets the keys in a SortedList object.
(Inherited from SortedList.)
Public methodGetObjectData
Overrides serialization method to add support for null value serialization.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValueList
Gets the values in a SortedList object.
(Inherited from SortedList.)
Public methodIndexOfKey
Returns the zero-based index of the specified key in a SortedList object.
(Inherited from SortedList.)
Public methodIndexOfValue
Returns the zero-based index of the first occurrence of the specified value in a SortedList object.
(Inherited from SortedList.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the element with the specified key from the IDictionary object.
(Overrides SortedList..::..Remove(Object).)
Public methodRemoveAt
Removes the element at the specified index of a SortedList object.
(Inherited from SortedList.)
Public methodSetByIndex
Replaces the value at a specific index in a SortedList object.
(Inherited from SortedList.)
Public methodToString
Returns string representation of this instance.
(Overrides Object..::..ToString()()()().)
Public methodTrimToSize
Sets the capacity to the actual number of elements in a SortedList object.
(Inherited from SortedList.)

Properties

  NameDescription
Public propertyCapacity
Gets or sets the capacity of a SortedList object.
(Inherited from SortedList.)
Public propertyComparer
Return the IComparer associated with this SortedDictionary.
Public propertyCount
Gets the number of elements contained in the ICollection.
(Overrides SortedList..::..Count.)
Public propertyIsFixedSize
Gets a value indicating whether a SortedList object has a fixed size.
(Inherited from SortedList.)
Protected propertyIsNullValueSet
Returns true is the value for the null key is set, false otherwise.
Public propertyIsReadOnly
Gets a value indicating whether a SortedList object is read-only.
(Inherited from SortedList.)
Public propertyIsSynchronized
Gets a value indicating whether access to a SortedList object is synchronized (thread safe).
(Inherited from SortedList.)
Public propertyItem
Gets or sets the element with the specified key.
(Overrides SortedList..::..Item[([( Object])]) .)
Public propertyKeys
Gets an ICollection object containing the keys of this dictionary.
(Overrides SortedList..::..Keys.)
Public propertySyncRoot
Gets an object that can be used to synchronize access to a SortedList object.
(Inherited from SortedList.)
Public propertyValues
Gets an ICollection object containing the values in this dictionary.
(Overrides SortedList..::..Values.)

See Also