if (equals(o, a[i]))
if (this.equals(o, a[i]))
    public int indexOf(Object o)    {      int size = a.length;      for (int i = 0; i < size; i++)        if (equals(o, a[i]))          return i;      return -1;    }