Class ArrayMap<K, V>
public class ArrayMap<K, V> : Map<K, V>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IMap<K, V>
Type Parameters
KV
- Inheritance
-
JVMBridgeBase<Map<K, V>>Map<K, V>ArrayMap<K, V>
- Implements
-
IMap<K, V>
- Inherited Members
- Extension Methods
Constructors
ArrayMap()
public ArrayMap()
ArrayMap(ArrayMap<K, V>)
https://developer.android.com/reference/android/util/ArrayMap.html#%3Cinit%3E(android.util.ArrayMap)
public ArrayMap(ArrayMap<K, V> arg0)
Parameters
ArrayMap(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ArrayMap(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
ArrayMap(int)
public ArrayMap(int arg0)
Parameters
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
Clear()
public void Clear()
ContainsAll(Collection<object>)
https://developer.android.com/reference/android/util/ArrayMap.html#containsAll(java.util.Collection)
public bool ContainsAll(Collection<object> arg0)
Parameters
arg0Collection<object>
Returns
ContainsKey(object)
public bool ContainsKey(object arg0)
Parameters
Returns
ContainsValue(object)
public bool ContainsValue(object arg0)
Parameters
Returns
CreatePoolableInstance()
HPA initializer for ArrayMap()
public static ArrayMap<K, V> CreatePoolableInstance()
Returns
- ArrayMap<K, V>
CreatePoolableInstance(ArrayMap<K, V>)
HPA initializer for ArrayMap(Android.Util.ArrayMap%3CK, V%3E arg0)
public static ArrayMap<K, V> CreatePoolableInstance(ArrayMap<K, V> arg0)
Parameters
arg0ArrayMap<K, V>
Returns
- ArrayMap<K, V>
CreatePoolableInstance(int)
HPA initializer for ArrayMap(int arg0)
public static ArrayMap<K, V> CreatePoolableInstance(int arg0)
Parameters
arg0int
Returns
- ArrayMap<K, V>
EnsureCapacity(int)
public void EnsureCapacity(int arg0)
Parameters
EntrySet()
public Set<Map.Entry<K, V>> EntrySet()
Returns
ForEach<Arg0objectSuperK, Arg0objectSuperV>(BiConsumer<Arg0objectSuperK, Arg0objectSuperV>)
public void ForEach<Arg0objectSuperK, Arg0objectSuperV>(BiConsumer<Arg0objectSuperK, Arg0objectSuperV> arg0) where Arg0objectSuperK : K where Arg0objectSuperV : V
Parameters
arg0BiConsumer<Arg0objectSuperK, Arg0objectSuperV>
Type Parameters
Arg0objectSuperKKArg0objectSuperVV
Get(object)
public V Get(object arg0)
Parameters
Returns
- V
V
IndexOfKey(object)
public int IndexOfKey(object arg0)
Parameters
Returns
IndexOfValue(object)
public int IndexOfValue(object arg0)
Parameters
Returns
IsEmpty()
public bool IsEmpty()
Returns
KeyAt(int)
public K KeyAt(int arg0)
Parameters
Returns
- K
K
KeySet()
public Set<K> KeySet()
Returns
Put(K, V)
public V Put(K arg0, V arg1)
Parameters
arg0KKarg1VV
Returns
- V
V
PutAll<Arg0ExtendsK, Arg0ExtendsV>(ArrayMap<Arg0ExtendsK, Arg0ExtendsV>)
public void PutAll<Arg0ExtendsK, Arg0ExtendsV>(ArrayMap<Arg0ExtendsK, Arg0ExtendsV> arg0) where Arg0ExtendsK : K where Arg0ExtendsV : V
Parameters
Type Parameters
Arg0ExtendsKKArg0ExtendsVV
PutAll<Arg0ExtendsK, Arg0ExtendsV>(Map<Arg0ExtendsK, Arg0ExtendsV>)
public void PutAll<Arg0ExtendsK, Arg0ExtendsV>(Map<Arg0ExtendsK, Arg0ExtendsV> arg0) where Arg0ExtendsK : K where Arg0ExtendsV : V
Parameters
Type Parameters
Arg0ExtendsKKArg0ExtendsVV
Remove(object)
public V Remove(object arg0)
Parameters
Returns
- V
V
RemoveAll(Collection<object>)
public bool RemoveAll(Collection<object> arg0)
Parameters
arg0Collection<object>
Returns
RemoveAt(int)
public V RemoveAt(int arg0)
Parameters
Returns
- V
V
ReplaceAll<Arg0objectSuperK, Arg0objectSuperV, Arg0ExtendsV>(BiFunction<Arg0objectSuperK, Arg0objectSuperV, Arg0ExtendsV>)
public void ReplaceAll<Arg0objectSuperK, Arg0objectSuperV, Arg0ExtendsV>(BiFunction<Arg0objectSuperK, Arg0objectSuperV, Arg0ExtendsV> arg0) where Arg0objectSuperK : K where Arg0objectSuperV : V where Arg0ExtendsV : V
Parameters
arg0BiFunction<Arg0objectSuperK, Arg0objectSuperV, Arg0ExtendsV>
Type Parameters
Arg0objectSuperKKArg0objectSuperVVArg0ExtendsVV
RetainAll(Collection<object>)
public bool RetainAll(Collection<object> arg0)
Parameters
arg0Collection<object>
Returns
SetValueAt(int, V)
public V SetValueAt(int arg0, V arg1)
Parameters
Returns
- V
V
Size()
public int Size()
Returns
ValueAt(int)
public V ValueAt(int arg0)
Parameters
Returns
- V
V
Values()
public Collection<V> Values()
Returns
Operators
implicit operator ArrayMap(ArrayMap<K, V>)
Converter from ArrayMap<K, V> to ArrayMap
public static implicit operator ArrayMap(ArrayMap<K, V> t)
Parameters
tArrayMap<K, V>