IComparator.Reversed Method

Definition

Returns a comparator that imposes the reverse ordering of this comparator.

[Android.Runtime.Register("reversed", "()Ljava/util/Comparator;", "GetReversedHandler:Java.Util.IComparator, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public virtual Java.Util.IComparator? Reversed ();
[<Android.Runtime.Register("reversed", "()Ljava/util/Comparator;", "GetReversedHandler:Java.Util.IComparator, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member Reversed : unit -> Java.Util.IComparator
override this.Reversed : unit -> Java.Util.IComparator

Returns

a comparator that imposes the reverse ordering of this comparator.

Attributes

Remarks

Returns a comparator that imposes the reverse ordering of this comparator.

Added in 1.8.

Java documentation for java.util.Comparator.reversed().

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.

Applies to