Language

TreeSet.TailSet Method

Definition

Overloads

Name Description
TailSet(Object, Boolean)

Returns a view of the portion of this set whose elements are greater than (or equal to, if inclusive is true) fromElement.

TailSet(Object)

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

TailSet(Object, Boolean)

Returns a view of the portion of this set whose elements are greater than (or equal to, if inclusive is true) fromElement.

[Android.Runtime.Register("tailSet", "(Ljava/lang/Object;Z)Ljava/util/NavigableSet;", "GetTailSet_Ljava_lang_Object_ZHandler")]
public virtual Java.Util.INavigableSet? TailSet(Java.Lang.Object? fromElement, bool inclusive);
[<Android.Runtime.Register("tailSet", "(Ljava/lang/Object;Z)Ljava/util/NavigableSet;", "GetTailSet_Ljava_lang_Object_ZHandler")>]
abstract member TailSet : Java.Lang.Object * bool -> Java.Util.INavigableSet
override this.TailSet : Java.Lang.Object * bool -> Java.Util.INavigableSet

Parameters

fromElement
Object

low endpoint of the returned set

inclusive
Boolean

true if the low endpoint is to be included in the returned view

Returns

Implements

Attributes

Remarks

Java documentation for java.util.TreeSet.tailSet(E, boolean).

Java reference for java.util.TreeSet.tailSet.

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

TailSet(Object)

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")]
public virtual Java.Util.ISortedSet? TailSet(Java.Lang.Object? fromElement);
[<Android.Runtime.Register("tailSet", "(Ljava/lang/Object;)Ljava/util/SortedSet;", "GetTailSet_Ljava_lang_Object_Handler")>]
abstract member TailSet : Java.Lang.Object -> Java.Util.ISortedSet
override this.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

Implements

Attributes

Remarks

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

Java reference for java.util.TreeSet.tailSet.

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