/* Copyright (c) 2009, Avian Contributors

   Permission to use, copy, modify, and/or distribute this software
   for any purpose with or without fee is hereby granted, provided
   that the above copyright notice and this permission notice appear
   in all copies.

   There is NO WARRANTY for this software.  See license.txt for
   details. */

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);
  }
}

@@ -14,16 +14,21 @@
 (c) 2009
+-2011
 , Avian 
@@ -645,11 +645,256 @@
 is);%0A  %7D
+%0A%0A  public int indexOf(Object o) %7B%0A    int i = 0;%0A    for (T v: this) %7B%0A      if (o == null) %7B%0A        if (v == null) %7B%0A          return i;%0A        %7D%0A      %7D else if (o.equals(v)) %7B%0A        return i;%0A      %7D%0A%0A      ++ i;%0A    %7D%0A    return -1;%0A  %7D
 %0A%7D%0A

implement AbstractList.indexOf