Java.Util.IDeque.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.IDequeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool Contains (Java.Lang.Object p0)

Parameters

o
element whose presence in this deque is to be tested

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.ClassCastExceptionif the type of the specified element is incompatible with this deque (optional)
Java.Lang.NullPointerExceptionif the specified element is null and this deque does not permit null elements (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==null ? e==null : o.equals(e)).

[Android Documentation]

Requirements

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