Udostępnij za pośrednictwem


TreeMap.SubMap Method

Definition

Overloads

SubMap(Object, Object)
SubMap(Object, Boolean, Object, Boolean)

Added in 1.

SubMap(Object, Object)

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

Parameters

fromKey
Object
toKey
Object

Returns

Implements

Attributes

Remarks

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

SubMap(Object, Boolean, Object, Boolean)

Added in 1.

[Android.Runtime.Register("subMap", "(Ljava/lang/Object;ZLjava/lang/Object;Z)Ljava/util/NavigableMap;", "GetSubMap_Ljava_lang_Object_ZLjava_lang_Object_ZHandler")]
public virtual Java.Util.INavigableMap SubMap (Java.Lang.Object? fromKey, bool fromInclusive, Java.Lang.Object? toKey, bool toInclusive);
[<Android.Runtime.Register("subMap", "(Ljava/lang/Object;ZLjava/lang/Object;Z)Ljava/util/NavigableMap;", "GetSubMap_Ljava_lang_Object_ZLjava_lang_Object_ZHandler")>]
abstract member SubMap : Java.Lang.Object * bool * Java.Lang.Object * bool -> Java.Util.INavigableMap
override this.SubMap : Java.Lang.Object * bool * Java.Lang.Object * bool -> Java.Util.INavigableMap

Parameters

fromKey
Object
fromInclusive
Boolean
toKey
Object
toInclusive
Boolean

Returns

Implements

Attributes

Remarks

Added in 1.6.

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