Sprache

ConcurrentSkipListMap.DescendingKeySet Method

Definition

Returns a reverse order INavigableSet view of the keys contained in this map.

[Android.Runtime.Register("descendingKeySet", "()Ljava/util/NavigableSet;", "GetDescendingKeySetHandler")]
public virtual Java.Util.INavigableSet? DescendingKeySet();
[<Android.Runtime.Register("descendingKeySet", "()Ljava/util/NavigableSet;", "GetDescendingKeySetHandler")>]
abstract member DescendingKeySet : unit -> Java.Util.INavigableSet
override this.DescendingKeySet : unit -> Java.Util.INavigableSet

Returns

a reverse order navigable set view of the keys in this map

Attributes

Remarks

Returns a reverse order NavigableSet view of the keys contained in this map. The set's iterator returns the keys in descending order. The set is backed by the map, so changes to the map are reflected in the set, and vice-versa. The set supports element removal, which removes the corresponding mapping from the map, via the Iterator.remove, Set.remove, removeAll, retainAll, and clear operations. It does not support the add or addAll operations. The view's iterators and spliterators are weakly consistent.

Java reference for java.util.concurrent.ConcurrentSkipListMap.descendingKeySet.

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