text: public override bool Equals(object o){if (o == this){return true;}if (!(o is java.util.List<E>)){return false;}java.util.List<E> that = (java.util.List<E>)o;int s = _size;if (that.size() != s){return false;}object[] a = array;if (that is java.util.RandomAccess){{for (int i = 0; i < s; i++){object eThis = a[i];object ethat = that.get(i);if (eThis == null ? ethat != null : !eThis.Equals(ethat)){return false;}}}}else{java.util.Iterator<E> it = that.iterator();{for (int i = 0; i < s; i++){object eThis = a[i];object eThat = it.next();if (eThis == null ? eThat != null : !eThis.Equals(eThat)){return false;}}}}return true;}