Udostępnij za pośrednictwem


ConcurrentSkipListMap Constructors

Definition

Overloads

ConcurrentSkipListMap()

Constructs a new, empty map, sorted according to the Comparable natural ordering of the keys.

ConcurrentSkipListMap(IComparator)

Constructs a new, empty map, sorted according to the specified comparator.

ConcurrentSkipListMap(IDictionary)

Constructs a new map containing the same mappings as the given map, sorted according to the Comparable natural ordering of the keys.

ConcurrentSkipListMap(IntPtr, JniHandleOwnership)

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

ConcurrentSkipListMap()

Constructs a new, empty map, sorted according to the Comparable natural ordering of the keys.

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

Remarks

Constructs a new, empty map, sorted according to the Comparable natural ordering of the keys.

Java documentation for java.util.concurrent.ConcurrentSkipListMap.ConcurrentSkipListMap().

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

ConcurrentSkipListMap(IComparator)

Constructs a new, empty map, sorted according to the specified comparator.

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

Parameters

comparator
IComparator

the comparator that will be used to order this map. If null, the Comparable natural ordering of the keys will be used.

Attributes

Remarks

Constructs a new, empty map, sorted according to the specified comparator.

Java documentation for java.util.concurrent.ConcurrentSkipListMap.ConcurrentSkipListMap(java.util.Comparator<? super K>).

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

ConcurrentSkipListMap(IDictionary)

Constructs a new map containing the same mappings as the given map, sorted according to the Comparable natural ordering of the keys.

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

Parameters

m
IDictionary

the map whose mappings are to be placed in this map

Attributes

Remarks

Constructs a new map containing the same mappings as the given map, sorted according to the Comparable natural ordering of the keys.

Java documentation for java.util.concurrent.ConcurrentSkipListMap.ConcurrentSkipListMap(java.util.Map<? extends K, ? extends 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

ConcurrentSkipListMap(IntPtr, JniHandleOwnership)

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

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

Parameters

javaReference
IntPtr

nativeint

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

transfer
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