TreeMap TreeMap Constructors

Definition

Overloads

TreeMap()

Create a natural order, empty tree map whose keys must be mutually comparable and non-null.

TreeMap(IComparator) TreeMap(IComparator)
TreeMap(IDictionary) TreeMap(IDictionary)
TreeMap(IntPtr, JniHandleOwnership) TreeMap(IntPtr, JniHandleOwnership)

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

TreeMap()

Create a natural order, empty tree map whose keys must be mutually comparable and non-null.

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

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.

TreeMap(IComparator) TreeMap(IComparator)

[Android.Runtime.Register(".ctor", "(Ljava/util/Comparator;)V", "")]
public TreeMap (Java.Util.IComparator comparator);
new Java.Util.TreeMap : Java.Util.IComparator -> Java.Util.TreeMap

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.

TreeMap(IDictionary) TreeMap(IDictionary)

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

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.

TreeMap(IntPtr, JniHandleOwnership) TreeMap(IntPtr, JniHandleOwnership)

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

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

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.

Applies to