Language

INavigableSet.ISequencedCollection.Reversed Method

Definition

Returns a reverse-ordered view of this collection.

[Android.Runtime.Register("reversed", "()Ljava/util/NavigableSet;", "GetReversedHandler:Java.Util.INavigableSet, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
override sealed Java.Util.ISequencedCollection? ISequencedCollection.Reversed();
[<Android.Runtime.Register("reversed", "()Ljava/util/NavigableSet;", "GetReversedHandler:Java.Util.INavigableSet, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member Java.Util.ISequencedCollection.Reversed : unit -> Java.Util.ISequencedCollection
override this.Java.Util.ISequencedCollection.Reversed : unit -> Java.Util.ISequencedCollection

Returns

a reverse-ordered view of this collection, as a NavigableSet

Implements

Attributes

Remarks

Returns a reverse-ordered view of this collection. The encounter order of elements in the returned view is the inverse of the encounter order of elements in this collection. The reverse ordering affects all order-sensitive operations, including those on the view collections of the returned view. If the collection implementation permits modifications to this view, the modifications "write through" to the underlying collection. Changes to the underlying collection might or might not be visible in this reversed view, depending upon the implementation. This method is equivalent to descendingSet.

This method is equivalent to #descendingSet descendingSet.

Added in 21.

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

Java reference for java.util.NavigableSet.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