Share via


TreeSet.SubSet Method

Definition

Overloads

SubSet(Object, Object)
SubSet(Object, Boolean, Object, Boolean)

SubSet(Object, Object)

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

Parameters

fromElement
Object
toElement
Object

Returns

Implements

Attributes

Remarks

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

SubSet(Object, Boolean, Object, Boolean)

[Android.Runtime.Register("subSet", "(Ljava/lang/Object;ZLjava/lang/Object;Z)Ljava/util/NavigableSet;", "GetSubSet_Ljava_lang_Object_ZLjava_lang_Object_ZHandler")]
public virtual Java.Util.INavigableSet? SubSet (Java.Lang.Object? fromElement, bool fromInclusive, Java.Lang.Object? toElement, bool toInclusive);
[<Android.Runtime.Register("subSet", "(Ljava/lang/Object;ZLjava/lang/Object;Z)Ljava/util/NavigableSet;", "GetSubSet_Ljava_lang_Object_ZLjava_lang_Object_ZHandler")>]
abstract member SubSet : Java.Lang.Object * bool * Java.Lang.Object * bool -> Java.Util.INavigableSet
override this.SubSet : Java.Lang.Object * bool * Java.Lang.Object * bool -> Java.Util.INavigableSet

Parameters

fromElement
Object
fromInclusive
Boolean
toElement
Object
toInclusive
Boolean

Returns

Implements

Attributes

Remarks

Java documentation for java.util.TreeSet.subSet(E, boolean, 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