mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
add fields and methods to AbstractList for compatibility
Google Protocol Buffers relies on these.
This commit is contained in:
@ -12,4 +12,14 @@ package java.util;
|
||||
|
||||
public abstract class AbstractList<T> extends AbstractCollection<T>
|
||||
implements List<T>
|
||||
{ }
|
||||
{
|
||||
protected int modCount;
|
||||
|
||||
public Iterator<T> iterator() {
|
||||
return listIterator();
|
||||
}
|
||||
|
||||
public ListIterator<T> listIterator() {
|
||||
return new Collections.ArrayListIterator(this);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user