TreeSet.Comparator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the comparator used to compare elements in this TreeSet.
[Android.Runtime.Register("comparator", "()Ljava/util/Comparator;", "GetComparatorHandler")]
public virtual Java.Util.IComparator? Comparator();
[<Android.Runtime.Register("comparator", "()Ljava/util/Comparator;", "GetComparatorHandler")>]
abstract member Comparator : unit -> Java.Util.IComparator
override this.Comparator : unit -> Java.Util.IComparator
Returns
the comparator used to order the elements in this set, or null if this set uses the natural ordering of its elements
Implements
- Attributes
Remarks
Returns the comparator used to order the elements in this set, or null if this set uses the natural ordering of its elements.
Java reference for java.util.TreeSet.comparator.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.