109 |
|
public class ArrayList<E> extends AbstractList<E> |
110 |
|
implements List<E>, RandomAccess, Cloneable, java.io.Serializable |
111 |
|
{ |
112 |
+ |
// OPENJDK @java.io.Serial |
113 |
|
private static final long serialVersionUID = 8683452581122892189L; |
114 |
|
|
115 |
|
/** |
539 |
|
if (to > es.length) { |
540 |
|
throw new ConcurrentModificationException(); |
541 |
|
} |
542 |
< |
Iterator<?> oit = other.iterator(); |
542 |
> |
var oit = other.iterator(); |
543 |
|
for (; from < to; from++) { |
544 |
|
if (!oit.hasNext() || !Objects.equals(es[from], oit.next())) { |
545 |
|
return false; |
856 |
|
* instance is emitted (int), followed by all of its elements |
857 |
|
* (each an {@code Object}) in the proper order. |
858 |
|
*/ |
859 |
+ |
// OPENJDK @java.io.Serial |
860 |
|
private void writeObject(java.io.ObjectOutputStream s) |
861 |
|
throws java.io.IOException { |
862 |
|
// Write out element count, and any hidden stuff |
884 |
|
* could not be found |
885 |
|
* @throws java.io.IOException if an I/O error occurs |
886 |
|
*/ |
887 |
+ |
// OPENJDK @java.io.Serial |
888 |
|
private void readObject(java.io.ObjectInputStream s) |
889 |
|
throws java.io.IOException, ClassNotFoundException { |
890 |
|
|