mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
add fields and methods to AbstractList for compatibility
Google Protocol Buffers relies on these.
This commit is contained in:
parent
3df3892d34
commit
1c59aa51d8
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user