INavigableMap INavigableMap Interface

Definition

A ISortedMap extended with navigation methods returning the closest matches for given search targets.

[Android.Runtime.Register("java/util/NavigableMap", "", "Java.Util.INavigableMapInvoker", ApiSince=9)]
[Java.Interop.JavaTypeParameters(new System.String[] { "K", "V" })]
public interface INavigableMap : IDisposable, Java.Util.ISortedMap
type INavigableMap = interface
    interface ISortedMap
    interface IMap
    interface IJavaObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

Android platform documentation

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.

Methods

CeilingEntry(Object) CeilingEntry(Object)
CeilingKey(Object) CeilingKey(Object)
Clear() Clear()

Removes all elements from this Map, leaving it empty.

(Inherited from IMap)
Comparator() Comparator()

Returns the comparator used to compare keys in this sorted map, or null if the natural ordering is in use.

(Inherited from ISortedMap)
ContainsKey(Object) ContainsKey(Object)

Returns whether this Map contains the specified key.

(Inherited from IMap)
ContainsValue(Object) ContainsValue(Object)

Returns whether this Map contains the specified value.

(Inherited from IMap)
DescendingKeySet() DescendingKeySet()

Returns a reverse order INavigableSet view of the keys contained in this map.

DescendingMap() DescendingMap()

Returns a reverse order view of the mappings contained in this map.

EntrySet() EntrySet() Inherited from ISortedMap
Equals(Object) Equals(Object)

Compares the argument to the receiver, and returns true if the specified object is a Map and both Maps contain the same mappings.

(Inherited from IMap)
FirstEntry() FirstEntry()

Returns a key-value mapping associated with the least key in this map, or null if the map is empty.

FirstKey() FirstKey()

Returns the least key in this sorted map.

(Inherited from ISortedMap)
FloorEntry(Object) FloorEntry(Object)
FloorKey(Object) FloorKey(Object)
Get(Object) Get(Object)

Returns the value of the mapping with the specified key.

(Inherited from IMap)
GetHashCode() GetHashCode()

Returns an integer hash code for the receiver.

(Inherited from IMap)
HeadMap(Object) HeadMap(Object)
HeadMap(Object, Boolean) HeadMap(Object, Boolean)
HigherEntry(Object) HigherEntry(Object)
HigherKey(Object) HigherKey(Object)
KeySet() KeySet() Inherited from ISortedMap
LastEntry() LastEntry()

Returns a key-value mapping associated with the greatest key in this map, or null if the map is empty.

LastKey() LastKey()

Returns the greatest key in this sorted map.

(Inherited from ISortedMap)
LowerEntry(Object) LowerEntry(Object)
LowerKey(Object) LowerKey(Object)
NavigableKeySet() NavigableKeySet()

Returns a INavigableSet view of the keys contained in this map.

PollFirstEntry() PollFirstEntry()

Removes and returns a key-value mapping associated with the least key in this map, or null if the map is empty.

PollLastEntry() PollLastEntry()

Removes and returns a key-value mapping associated with the greatest key in this map, or null if the map is empty.

Put(Object, Object) Put(Object, Object) Inherited from IMap
PutAll(IDictionary) PutAll(IDictionary) Inherited from IMap
Remove(Object) Remove(Object)

Removes a mapping with the specified key from this Map.

(Inherited from IMap)
Size() Size()

Returns the number of mappings in this Map.

(Inherited from IMap)
SubMap(Object, Boolean, Object, Boolean) SubMap(Object, Boolean, Object, Boolean)
SubMap(Object, Object) SubMap(Object, Object)
TailMap(Object) TailMap(Object)
TailMap(Object, Boolean) TailMap(Object, Boolean)
Values() Values() Inherited from ISortedMap

Properties

Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
IsEmpty IsEmpty

Returns whether this map is empty.

(Inherited from IMap)

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Applies to