Java.Util.Concurrent.IBlockingQueue.Contains Method
Returns true if this queue contains the specified element.

Syntax

[Android.Runtime.Register("contains", "(Ljava/lang/Object;)Z", "GetContains_Ljava_lang_Object_Handler:Java.Util.Concurrent.IBlockingQueueInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool Contains (Java.Lang.Object o)

Parameters

o
object to be checked for containment in this queue

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.ClassCastExceptionif the class of the specified element is incompatible with this queue (optional)
Java.Lang.NullPointerExceptionif the specified element is null (optional)

Remarks

Returns true if this queue contains the specified element. More formally, returns true if and only if this queue contains at least one element e such that o.equals(e).

[Android Documentation]

Requirements

Namespace: Java.Util.Concurrent
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5