Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
12c (12.2.1.4.0)
E90869-02
Sorts the elements in a range of elements in ArrayList using
the specified comparer.
Namespace: Tangosol.Run.Xml
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)
Syntax
C# |
---|
public override void Sort( int index, int count, IComparer comparer ) |
Parameters
- index
- Type: System..::..Int32
The zero-based starting index of the range to sort.
- count
- Type: System..::..Int32
The length of the range to sort.
- comparer
- Type: System.Collections..::..IComparer
The IComparer implementation to use when comparing elements or null to use the IComparable implementation of each element.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentOutOfRangeException | Index is less than zero or count is less than zero. |
System..::..ArgumentException | Index and count do not denote a valid range of elements in the ArrayList. |
System..::..InvalidOperationException | Parent SimpleElement is not mutable. |