Java.Util.Concurrent.IBlockingDeque.Contains Method
Returns true if this deque contains the specified element.

Syntax

[Android.Runtime.Register("contains", "(Ljava/lang/Object;)Z", "GetContains_Ljava_lang_Object_Handler:Java.Util.Concurrent.IBlockingDequeInvoker, 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 deque

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 deque (optional)
Java.Lang.NullPointerExceptionif the specified element is null (optional)

Remarks

Returns true if this deque contains the specified element. More formally, returns true if and only if this deque 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 9