Freigeben über


TreeSet.HeadSet Method

Definition

Overloads

HeadSet(Object)
HeadSet(Object, Boolean)

HeadSet(Object)

[Android.Runtime.Register("headSet", "(Ljava/lang/Object;)Ljava/util/SortedSet;", "GetHeadSet_Ljava_lang_Object_Handler")]
public virtual Java.Util.ISortedSet? HeadSet (Java.Lang.Object? toElement);
[<Android.Runtime.Register("headSet", "(Ljava/lang/Object;)Ljava/util/SortedSet;", "GetHeadSet_Ljava_lang_Object_Handler")>]
abstract member HeadSet : Java.Lang.Object -> Java.Util.ISortedSet
override this.HeadSet : Java.Lang.Object -> Java.Util.ISortedSet

Parameters

toElement
Object

Returns

Implements

Attributes

Remarks

Java documentation for java.util.TreeSet.headSet(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

HeadSet(Object, Boolean)

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

Parameters

toElement
Object
inclusive
Boolean

Returns

Implements

Attributes

Remarks

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

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