Java.Util.IMap.Values Method
Returns a Collection of the values contained in this Map.

Syntax

[Android.Runtime.Register("values", "()Ljava/util/Collection;", "GetValuesHandler:Java.Util.IMapInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public ICollection Values ()

Returns

Documentation for this section has not yet been entered.

Remarks

Returns a Collection of the values contained in this Map. The Collection is backed by this Map so changes to one are reflected by the other. The Collection supports Android.Runtime.JavaCollection.remove(java.lang.Object), Android.Runtime.JavaCollection.removeAll(java.util.Collection<?>), Android.Runtime.JavaCollection.retainAll(java.util.Collection<?>), and Android.Runtime.JavaCollection.clear() operations, and it does not support Android.Runtime.JavaCollection.add(E) or Android.Runtime.JavaCollection.addAll(java.util.Collection<? extends E>) operations.

This method returns a Collection which is the subclass of Java.Util.AbstractCollection. The AbstractCollection.Iterator method of this subclass returns a "wrapper object" over the iterator of this Map's IMap.EntrySet. The AbstractCollection.Size method wraps this Map's IMap.Size method and the AbstractCollection.Contains(Java.Lang.Object) method wraps this Map's IMap.ContainsValue(Java.Lang.Object) method.

The collection is created when this method is called at first time and returned in response to all subsequent calls. This method may return different Collection when multiple calls to this method, since it has no synchronization performed.

[Android Documentation]

Requirements

Namespace: Java.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1