次の方法で共有


ArrayBlockingQueue Constructors

Definition

Overloads

ArrayBlockingQueue(Int32)

Creates an ArrayBlockingQueue with the given (fixed) capacity and default access policy.

ArrayBlockingQueue(Int32, Boolean)

Creates an ArrayBlockingQueue with the given (fixed) capacity and the specified access policy.

ArrayBlockingQueue(IntPtr, JniHandleOwnership)

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

ArrayBlockingQueue(Int32, Boolean, ICollection)

Creates an ArrayBlockingQueue with the given (fixed) capacity, the specified access policy and initially containing the elements of the given collection, added in traversal order of the collection's iterator.

ArrayBlockingQueue(Int32)

Creates an ArrayBlockingQueue with the given (fixed) capacity and default access policy.

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

Parameters

capacity
Int32

the capacity of this queue

Attributes

Exceptions

Remarks

Creates an ArrayBlockingQueue with the given (fixed) capacity and default access policy.

Java documentation for java.util.concurrent.ArrayBlockingQueue.ArrayBlockingQueue(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

ArrayBlockingQueue(Int32, Boolean)

Creates an ArrayBlockingQueue with the given (fixed) capacity and the specified access policy.

[Android.Runtime.Register(".ctor", "(IZ)V", "")]
public ArrayBlockingQueue (int capacity, bool fair);
[<Android.Runtime.Register(".ctor", "(IZ)V", "")>]
new Java.Util.Concurrent.ArrayBlockingQueue : int * bool -> Java.Util.Concurrent.ArrayBlockingQueue

Parameters

capacity
Int32

the capacity of this queue

fair
Boolean

if true then queue accesses for threads blocked on insertion or removal, are processed in FIFO order; if false the access order is unspecified.

Attributes

Exceptions

Remarks

Creates an ArrayBlockingQueue with the given (fixed) capacity and the specified access policy.

Java documentation for java.util.concurrent.ArrayBlockingQueue.ArrayBlockingQueue(int, boolean).

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

ArrayBlockingQueue(IntPtr, JniHandleOwnership)

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

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

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

ArrayBlockingQueue(Int32, Boolean, ICollection)

Creates an ArrayBlockingQueue with the given (fixed) capacity, the specified access policy and initially containing the elements of the given collection, added in traversal order of the collection's iterator.

[Android.Runtime.Register(".ctor", "(IZLjava/util/Collection;)V", "")]
public ArrayBlockingQueue (int capacity, bool fair, System.Collections.ICollection? c);
[<Android.Runtime.Register(".ctor", "(IZLjava/util/Collection;)V", "")>]
new Java.Util.Concurrent.ArrayBlockingQueue : int * bool * System.Collections.ICollection -> Java.Util.Concurrent.ArrayBlockingQueue

Parameters

capacity
Int32

the capacity of this queue

fair
Boolean

if true then queue accesses for threads blocked on insertion or removal, are processed in FIFO order; if false the access order is unspecified.

c
ICollection

the collection of elements to initially contain

Attributes

Remarks

Creates an ArrayBlockingQueue with the given (fixed) capacity, the specified access policy and initially containing the elements of the given collection, added in traversal order of the collection's iterator.

Java documentation for java.util.concurrent.ArrayBlockingQueue.ArrayBlockingQueue(int, boolean, 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.

Applies to