LinkedHashMap LinkedHashMap Constructors

Definition

Overloads

LinkedHashMap()

Constructs a new empty LinkedHashMap instance.

LinkedHashMap(IDictionary) LinkedHashMap(IDictionary)
LinkedHashMap(Int32) LinkedHashMap(Int32)

Constructs a new LinkedHashMap instance with the specified capacity.

LinkedHashMap(Int32, Single) LinkedHashMap(Int32, Single)

Constructs a new LinkedHashMap instance with the specified capacity and load factor.

LinkedHashMap(IntPtr, JniHandleOwnership) LinkedHashMap(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

LinkedHashMap(Int32, Single, Boolean) LinkedHashMap(Int32, Single, Boolean)

Constructs a new LinkedHashMap instance with the specified capacity, load factor and a flag specifying the ordering behavior.

LinkedHashMap()

Constructs a new empty LinkedHashMap instance.

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

Remarks

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.

LinkedHashMap(IDictionary) LinkedHashMap(IDictionary)

[Android.Runtime.Register(".ctor", "(Ljava/util/Map;)V", "")]
public LinkedHashMap (System.Collections.IDictionary m);
new Java.Util.LinkedHashMap : System.Collections.IDictionary -> Java.Util.LinkedHashMap

Parameters

Remarks

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.

LinkedHashMap(Int32) LinkedHashMap(Int32)

Constructs a new LinkedHashMap instance with the specified capacity.

[Android.Runtime.Register(".ctor", "(I)V", "")]
public LinkedHashMap (int initialCapacity);
new Java.Util.LinkedHashMap : int -> Java.Util.LinkedHashMap

Parameters

initialCapacity
Int32 Int32

Exceptions

when the capacity is less than zero.

Remarks

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.

LinkedHashMap(Int32, Single) LinkedHashMap(Int32, Single)

Constructs a new LinkedHashMap instance with the specified capacity and load factor.

[Android.Runtime.Register(".ctor", "(IF)V", "")]
public LinkedHashMap (int initialCapacity, float loadFactor);
new Java.Util.LinkedHashMap : int * single -> Java.Util.LinkedHashMap

Parameters

initialCapacity
Int32 Int32
loadFactor
Single Single

Exceptions

when the capacity is less than zero or the load factor is less or equal to zero.

Remarks

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.

LinkedHashMap(IntPtr, JniHandleOwnership) LinkedHashMap(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected LinkedHashMap (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.LinkedHashMap : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.LinkedHashMap

Parameters

javaReference
IntPtr IntPtr

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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.

LinkedHashMap(Int32, Single, Boolean) LinkedHashMap(Int32, Single, Boolean)

Constructs a new LinkedHashMap instance with the specified capacity, load factor and a flag specifying the ordering behavior.

[Android.Runtime.Register(".ctor", "(IFZ)V", "")]
public LinkedHashMap (int initialCapacity, float loadFactor, bool accessOrder);
new Java.Util.LinkedHashMap : int * single * bool -> Java.Util.LinkedHashMap

Parameters

initialCapacity
Int32 Int32
loadFactor
Single Single
accessOrder
Boolean Boolean

Exceptions

when the capacity is less than zero or the load factor is less or equal to zero.

Remarks

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