AbstractCollection.Contains(Object) Method

Definition

To be added

[Android.Runtime.Register("contains", "(Ljava/lang/Object;)Z", "GetContains_Ljava_lang_Object_Handler")]
public virtual bool Contains (Java.Lang.Object? o);
[<Android.Runtime.Register("contains", "(Ljava/lang/Object;)Z", "GetContains_Ljava_lang_Object_Handler")>]
abstract member Contains : Java.Lang.Object -> bool
override this.Contains : Java.Lang.Object -> bool

Parameters

o
Object

Returns

Implements

Attributes

Exceptions

if the object to look for isn't of the correct type.

if the object to look for is null and this Collection doesn't support null elements.

Remarks

To be added

Java documentation for java.util.AbstractCollection.contains(java.lang.Object).

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