Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ArrayDeque() |
Constructs an empty array deque with an initial capacity sufficient to hold 16 elements. |
ArrayDeque(ICollection) |
Constructs a deque containing the elements of the specified collection, in the order they are returned by the collection's iterator. |
ArrayDeque(Int32) |
Constructs an empty array deque with an initial capacity sufficient to hold the specified number of elements. |
ArrayDeque(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Constructs an empty array deque with an initial capacity sufficient to hold 16 elements.
[Android.Runtime.Register(".ctor", "()V", "")]
public ArrayDeque();
Constructs an empty array deque with an initial capacity sufficient to hold 16 elements.
Java documentation for java.util.ArrayDeque.ArrayDeque()
.
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.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Constructs a deque containing the elements of the specified collection, in the order they are returned by the collection's iterator.
[Android.Runtime.Register(".ctor", "(Ljava/util/Collection;)V", "")]
public ArrayDeque(System.Collections.ICollection c);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Collection;)V", "")>]
new Java.Util.ArrayDeque : System.Collections.ICollection -> Java.Util.ArrayDeque
the collection whose elements are to be placed into the deque
Constructs a deque containing the elements of the specified collection, in the order they are returned by the collection's iterator. (The first element returned by the collection's iterator becomes the first element, or front of the deque.)
Java documentation for java.util.ArrayDeque.ArrayDeque(java.util.Collection<? extends E>)
.
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.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Constructs an empty array deque with an initial capacity sufficient to hold the specified number of elements.
[Android.Runtime.Register(".ctor", "(I)V", "")]
public ArrayDeque(int numElements);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Java.Util.ArrayDeque : int -> Java.Util.ArrayDeque
lower bound on initial capacity of the deque
Constructs an empty array deque with an initial capacity sufficient to hold the specified number of elements.
Java documentation for java.util.ArrayDeque.ArrayDeque(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.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected ArrayDeque(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.ArrayDeque : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.ArrayDeque
A JniHandleOwnershipindicating how to handle javaReference
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.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in