Java.Util.Concurrent.ConcurrentLinkedDeque.Size Method
Returns the number of elements in this deque.

Syntax

[Android.Runtime.Register("size", "()I", "GetSizeHandler")]
public override int Size ()

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the number of elements in this deque. If this deque contains more than Integer.MAX_VALUE elements, it returns Integer.MAX_VALUE.

Beware that, unlike in most collections, this method is NOT a constant-time operation. Because of the asynchronous nature of these deques, determining the current number of elements requires traversing them all to count them. Additionally, it is possible for the size to change during execution of this method, in which case the returned result will be inaccurate. Thus, this method is typically not very useful in concurrent applications.

[Android Documentation]

Requirements

Namespace: Java.Util.Concurrent
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0