@SuppressWarnings("unchecked")
  private void readObject(java.io.ObjectInputStream s)
      throws java.io.IOException, ClassNotFoundException {
    s.defaultReadObject();
    a = (K[]) new Object[size];
    for (int i = 0; i < size; i++) {
      a[i] = (K) s.readObject();
    }
  }
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