INavigableMap.TailMap Method

Definition

Overloads

TailMap(Object)

To be added

TailMap(Object, Boolean)

Returns a view of the portion of this map whose keys are greater than (or equal to, if inclusive is true) fromKey.

TailMap(Object)

To be added

[Android.Runtime.Register("tailMap", "(Ljava/lang/Object;)Ljava/util/SortedMap;", "GetTailMap_Ljava_lang_Object_Handler:Java.Util.INavigableMapInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public System.Collections.IDictionary TailMap (Java.Lang.Object? fromKey);
[<Android.Runtime.Register("tailMap", "(Ljava/lang/Object;)Ljava/util/SortedMap;", "GetTailMap_Ljava_lang_Object_Handler:Java.Util.INavigableMapInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member TailMap : Java.Lang.Object -> System.Collections.IDictionary

Parameters

fromKey
Object

Returns

Implements

Attributes

Remarks

To be added

Equivalent to tailMap(fromKey, true).

Java documentation for java.util.NavigableMap.tailMap(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

TailMap(Object, Boolean)

Returns a view of the portion of this map whose keys are greater than (or equal to, if inclusive is true) fromKey.

[Android.Runtime.Register("tailMap", "(Ljava/lang/Object;Z)Ljava/util/NavigableMap;", "GetTailMap_Ljava_lang_Object_ZHandler:Java.Util.INavigableMapInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Util.INavigableMap TailMap (Java.Lang.Object? fromKey, bool inclusive);
[<Android.Runtime.Register("tailMap", "(Ljava/lang/Object;Z)Ljava/util/NavigableMap;", "GetTailMap_Ljava_lang_Object_ZHandler:Java.Util.INavigableMapInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member TailMap : Java.Lang.Object * bool -> Java.Util.INavigableMap

Parameters

fromKey
Object

low endpoint of the keys in the returned map

inclusive
Boolean

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

Returns

a view of the portion of this map whose keys are greater than (or equal to, if inclusive is true) fromKey

Attributes

Remarks

Returns a view of the portion of this map whose keys are greater than (or equal to, if inclusive is true) fromKey. The returned map is backed by this map, so changes in the returned map are reflected in this map, and vice-versa. The returned map supports all optional map operations that this map supports.

The returned map will throw an IllegalArgumentException on an attempt to insert a key outside its range.

Java documentation for java.util.NavigableMap.tailMap(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