Package Summary Overview Summary

### method:equals(java.lang.Object) [CHANGED]
### equals public boolean equals (Object o) Compares the specified object with this list for equality. Returns `true` if and only if the specified object is also a list, both lists have the same size, and all corresponding pairs of elements in the two lists are equal. (Two elements `e1` and `e2` are equal if `(e1==null ? e2==null : e1.equals(e2))` .) In other words, two lists are defined to be equal if they contain the same elements in the same order. Specified by: `equals` in interface `Collection<E>` Specified by: `equals` in interface `List<E>` Overrides: `equals` in class `Object` Implementation Requirements: This implementation first checks if the specified object is this list. If so, it returns `true`; if not, it checks if the specified object is a list. If not, it returns `false`; if so, it iterates over both lists, comparing corresponding pairs of elements. If any comparison returns `false`, this method returns `false`. If either iterator runs out of elements before the other it returns `false` (as the lists are of unequal length); otherwise it returns `true` when the iterations complete. Parameters: `o` - the object to be compared for equality with this list Returns: `true` if the specified object is equal to this list See Also: `Object.equals(Object)` `Set.equals(Object)` `List.equals(Object)`hashCode() `HashMap`
### equals public boolean equals (Object o) Compares the specified object with this list for equality. Returns `true` if and only if the specified object is also a list, both lists have the same size, and all corresponding pairs of elements in the two lists are equal. (Two elements `e1` and `e2` are equal if `(e1==null ? e2==null : e1.equals(e2))` .) In other words, two lists are defined to be equal if they contain the same elements in the same order. Specified by: `equals` in interface `Collection<E>` Specified by: `equals` in interface `List<E>` Overrides: `equals` in class `Object` Implementation Requirements: This implementation first checks if the specified object is this list. If so, it returns `true`; if not, it checks if the specified object is a list. If not, it returns `false`; if so, it iterates over both lists, comparing corresponding pairs of elements. If any comparison returns `false`, this method returns `false`. If either iterator runs out of elements before the other it returns `false` (as the lists are of unequal length); otherwise it returns `true` when the iterations complete. Parameters: `o` - the object to be compared for equality with this list Returns: `true` if the specified object is equal to this list See Also: `Object.equals(Object)` `Set.equals(Object)` `List.equals(Object)` | ### equals public boolean equals (Object o) Compares the specified object with this list for equality. Returns `true` if and only if the specified object is also a list, both lists have the same size, and all corresponding pairs of elements in the two lists are equal. (Two elements `e1` and `e2` are equal if `(e1==null ? e2==null : e1.equals(e2))` .) In other words, two lists are defined to be equal if they contain the same elements in the same order. Specified by: `equals` in interface `Collection<E>` Specified by: `equals` in interface `List<E>` Overrides: `equals` in class `Object` Implementation Requirements: This implementation first checks if the specified object is this list. If so, it returns `true`; if not, it checks if the specified object is a list. If not, it returns `false`; if so, it iterates over both lists, comparing corresponding pairs of elements. If any comparison returns `false`, this method returns `false`. If either iterator runs out of elements before the other it returns `false` (as the lists are of unequal length); otherwise it returns `true` when the iterations complete. Parameters: `o` - the object to be compared for equality with this list Returns: `true` if the specified object is equal to this list See Also: `Object.hashCode()` `HashMap`

### method:hashCode() [CHANGED]
### hashCode public int hashCode() Returns the hash code value for this list. Specified by: `hashCode` in interface `Collection<E>` Specified by: `hashCode` in interface `List<E>` Overrides: `hashCode` in class `Object` Implementation Requirements: This implementation uses exactly the code that is used to define the list hash function in the documentation for the `List.hashCode()` method. Returns: the hash code value for this list See Also: `Object.equals(java.lang.Object)` `List.equals(System.identityHashCode(java.lang.Object)`
### hashCode public int hashCode() Returns the hash code value for this list. Specified by: `hashCode` in interface `Collection<E>` Specified by: `hashCode` in interface `List<E>` Overrides: `hashCode` in class `Object` Implementation Requirements: This implementation uses exactly the code that is used to define the list hash function in the documentation for the `List.hashCode()` method. Returns: the hash code value for this list See Also: `Object.equals(Object)` `List.equals(Object)` | ### hashCode public int hashCode() Returns the hash code value for this list. Specified by: `hashCode` in interface `Collection<E>` Specified by: `hashCode` in interface `List<E>` Overrides: `hashCode` in class `Object` Implementation Requirements: This implementation uses exactly the code that is used to define the list hash function in the documentation for the `List.hashCode()` method. Returns: the hash code value for this list See Also: `Object.equals(java.lang.Object)` `System.identityHashCode(java.lang.Object)`