Java.Util.TreeSet.DescendingSet Method
Returns a reverse order view of the elements contained in this set.

Syntax

[Android.Runtime.Register("descendingSet", "()Ljava/util/NavigableSet;", "GetDescendingSetHandler")]
public virtual INavigableSet DescendingSet ()

See Also

INavigableSet.DescendingSet

Returns

Documentation for this section has not yet been entered.

Remarks

Returns a reverse order view of the elements contained in this set. The descending set is backed by this set, so changes to the set are reflected in the descending set, and vice-versa. If either set is modified while an iteration over either set is in progress (except through the iterator's own remove operation), the results of the iteration are undefined.

The returned set has an ordering equivalent to Collections.reverseOrder(java.util.Comparator<T>)(comparator()). The expression s.descendingSet().descendingSet() returns a view of s essentially equivalent to s.

[Android Documentation]

Requirements

Namespace: Java.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9