private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException {
    s.defaultWriteObject();
    for (int i = 0; i < size; i++) {
      s.writeObject(a[i]);
    }
  }
Compares this array list to another array list.

<P>
This method exists only for sake of efficiency. The implementation inherited from the abstract
implementation would already work.

@param l an array list.
@return a negative integer, zero, or a positive integer as this list is lexicographically less
        than, equal to, or greater than the argument.
geode-core/src/main/java/org/apache/geode/internal/cache/IdentityArrayList.java