Language

JavaList.Equals(Object) Method

Definition

Compares this list with another JavaList by count and element values.

public virtual bool Equals(Java.Lang.Object obj);
override this.Equals : Java.Lang.Object -> bool

Parameters

obj
Object

The object to compare with this list.

Returns

false if obj is not a JavaList, counts differ, or any element in this list is null or does not equal the corresponding element; otherwise, true.

Remarks

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