ISortedSet.TailSet(Object) Method

Definition

Returns a view of the portion of this set whose elements are greater than or equal to fromElement.

[Android.Runtime.Register("tailSet", "(Ljava/lang/Object;)Ljava/util/SortedSet;", "GetTailSet_Ljava_lang_Object_Handler:Java.Util.ISortedSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Util.ISortedSet? TailSet (Java.Lang.Object? fromElement);
[<Android.Runtime.Register("tailSet", "(Ljava/lang/Object;)Ljava/util/SortedSet;", "GetTailSet_Ljava_lang_Object_Handler:Java.Util.ISortedSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member TailSet : Java.Lang.Object -> Java.Util.ISortedSet

Parameters

fromElement
Object

low endpoint (inclusive) of the returned set

Returns

a view of the portion of this set whose elements are greater than or equal to fromElement

Attributes

Remarks

Returns a view of the portion of this set whose elements are greater than or equal to fromElement. The returned set is backed by this set, so changes in the returned set are reflected in this set, and vice-versa. The returned set supports all optional set operations that this set supports.

The returned set will throw an IllegalArgumentException on an attempt to insert an element outside its range.

Java documentation for java.util.SortedSet.tailSet(E).

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