1 |
/* AbstractList.java -- Abstract implementation of most of List |
/* AbstractList.java -- Abstract implementation of most of List |
2 |
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc. |
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2005 |
3 |
|
Free Software Foundation, Inc. |
4 |
|
|
5 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
6 |
|
|
60 |
* |
* |
61 |
* @author Original author unknown |
* @author Original author unknown |
62 |
* @author Bryce McKinlay |
* @author Bryce McKinlay |
63 |
* @author Eric Blake <ebb9@email.byu.edu> |
* @author Eric Blake (ebb9@email.byu.edu) |
64 |
* @see Collection |
* @see Collection |
65 |
* @see List |
* @see List |
66 |
* @see AbstractSequentialList |
* @see AbstractSequentialList |
760 |
* by using a non-public top-level class in the same package. |
* by using a non-public top-level class in the same package. |
761 |
* |
* |
762 |
* @author Original author unknown |
* @author Original author unknown |
763 |
* @author Eric Blake <ebb9@email.byu.edu> |
* @author Eric Blake (ebb9@email.byu.edu) |
764 |
*/ |
*/ |
765 |
private static class SubList<E> extends AbstractList<E> |
private static class SubList<E> extends AbstractList<E> |
766 |
{ |
{ |
1208 |
* This class is a RandomAccess version of SubList, as required by |
* This class is a RandomAccess version of SubList, as required by |
1209 |
* {@link AbstractList#subList(int, int)}. |
* {@link AbstractList#subList(int, int)}. |
1210 |
* |
* |
1211 |
* @author Eric Blake <ebb9@email.byu.edu> |
* @author Eric Blake (ebb9@email.byu.edu) |
1212 |
*/ |
*/ |
1213 |
private static final class RandomAccessSubList<E> extends SubList<E> |
private static final class RandomAccessSubList<E> extends SubList<E> |
1214 |
implements RandomAccess |
implements RandomAccess |