共用方式為


TreeMap.HeadMap Method

Definition

Overloads

HeadMap(Object)
HeadMap(Object, Boolean)

Added in 1.

HeadMap(Object)

[Android.Runtime.Register("headMap", "(Ljava/lang/Object;)Ljava/util/SortedMap;", "GetHeadMap_Ljava_lang_Object_Handler")]
public virtual System.Collections.IDictionary HeadMap (Java.Lang.Object? toKey);
[<Android.Runtime.Register("headMap", "(Ljava/lang/Object;)Ljava/util/SortedMap;", "GetHeadMap_Ljava_lang_Object_Handler")>]
abstract member HeadMap : Java.Lang.Object -> System.Collections.IDictionary
override this.HeadMap : Java.Lang.Object -> System.Collections.IDictionary

Parameters

toKey
Object

Returns

Implements

Attributes

Remarks

Java documentation for java.util.TreeMap.headMap(K).

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

HeadMap(Object, Boolean)

Added in 1.

[Android.Runtime.Register("headMap", "(Ljava/lang/Object;Z)Ljava/util/NavigableMap;", "GetHeadMap_Ljava_lang_Object_ZHandler")]
public virtual Java.Util.INavigableMap HeadMap (Java.Lang.Object? toKey, bool inclusive);
[<Android.Runtime.Register("headMap", "(Ljava/lang/Object;Z)Ljava/util/NavigableMap;", "GetHeadMap_Ljava_lang_Object_ZHandler")>]
abstract member HeadMap : Java.Lang.Object * bool -> Java.Util.INavigableMap
override this.HeadMap : Java.Lang.Object * bool -> Java.Util.INavigableMap

Parameters

toKey
Object
inclusive
Boolean

Returns

Implements

Attributes

Remarks

Added in 1.6.

Java documentation for java.util.TreeMap.headMap(K, 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