equals
Compares this ItemsList object with another object for equality. The comparison checks whether the other object is also an ItemsList and contains the same items in the same order.
Return
true if the other object is an ItemsList with the same items, false otherwise.
Parameters
other
The object to compare with this ItemsList.