次の方法で共有


ArrayMap Constructors

Definition

Overloads

ArrayMap()

Create a new empty ArrayMap.

ArrayMap(ArrayMap)

Create a new ArrayMap with the mappings from the given ArrayMap.

ArrayMap(Int32)

Create a new ArrayMap with a given initial capacity.

ArrayMap()

Create a new empty ArrayMap.

[Android.Runtime.Register(".ctor", "()V", "")]
public ArrayMap ();
Attributes

Remarks

Create a new empty ArrayMap. The default capacity of an array map is 0, and will grow once items are added to it.

Java documentation for android.util.ArrayMap.ArrayMap().

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

ArrayMap(ArrayMap)

Create a new ArrayMap with the mappings from the given ArrayMap.

[Android.Runtime.Register(".ctor", "(Landroid/util/ArrayMap;)V", "")]
public ArrayMap (Android.Util.ArrayMap? map);
[<Android.Runtime.Register(".ctor", "(Landroid/util/ArrayMap;)V", "")>]
new Android.Util.ArrayMap : Android.Util.ArrayMap -> Android.Util.ArrayMap

Parameters

map
ArrayMap
Attributes

Remarks

Create a new ArrayMap with the mappings from the given ArrayMap.

Java documentation for android.util.ArrayMap.ArrayMap(android.util.ArrayMap<K, V>).

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

ArrayMap(Int32)

Create a new ArrayMap with a given initial capacity.

[Android.Runtime.Register(".ctor", "(I)V", "")]
public ArrayMap (int capacity);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Android.Util.ArrayMap : int -> Android.Util.ArrayMap

Parameters

capacity
Int32
Attributes

Remarks

Create a new ArrayMap with a given initial capacity.

Java documentation for android.util.ArrayMap.ArrayMap(int).

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