|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.aflow.util.CoinsList
coins.aflow.util.CoinsList.SubList
| Nested Class Summary |
| Nested classes inherited from class coins.aflow.util.CoinsList |
CoinsList.Entry, CoinsList.Itr, CoinsList.SubList |
| Field Summary |
| Fields inherited from class coins.aflow.util.CoinsList |
fIterators, header, modCount |
| Constructor Summary | |
(package private) |
CoinsList.SubList(CoinsList list,
int fromIndex,
int toIndex)
|
| Method Summary | |
void |
add(int index,
java.lang.Object element)
Inserts the specified element at the specified position in this list. |
boolean |
addAll(java.util.Collection c)
Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's iterator. |
boolean |
addAll(int index,
java.util.Collection c)
Inserts all of the elements in the specified collection into this list, starting at the specified position. |
java.lang.Object |
get(int index)
Returns the element at the specified position in this list. |
java.util.Iterator |
iterator()
|
java.util.ListIterator |
listIterator(int index)
|
java.lang.Object |
remove(int index)
Removes the element at the specified position in this list. |
java.lang.Object |
set(int index,
java.lang.Object element)
Replaces the element at the specified position in this list with the specified element. |
int |
size()
Returns the number of elements in this list. |
java.util.List |
subList(int fromIndex,
int toIndex)
|
| Methods inherited from class coins.aflow.util.CoinsList |
add, addBefore, addFirst, addLast, clear, clone, coinsIterator, coinsIterator, contains, containsAll, entry, equals, getFirst, getLast, hashCode, indexOf, isEmpty, lastIndexOf, listIterator, notifyIteratorsOfAddition, notifyIteratorsOfClearance, notifyIteratorsOfRemoval, remove, remove, removeAll, removeFirst, removeLast, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
CoinsList.SubList(CoinsList list,
int fromIndex,
int toIndex)
| Method Detail |
public java.lang.Object set(int index,
java.lang.Object element)
CoinsList
set in interface java.util.Listset in class CoinsListindex - index of element to replace.element - element to be stored at the specified position.
public java.lang.Object get(int index)
CoinsList
get in interface java.util.Listget in class CoinsListindex - index of element to return.
public int size()
CoinsList
size in interface java.util.Listsize in class CoinsList
public void add(int index,
java.lang.Object element)
CoinsList
add in interface java.util.Listadd in class CoinsListindex - index at which the specified element is to be inserted.element - element to be inserted.public java.lang.Object remove(int index)
CoinsList
remove in interface java.util.Listremove in class CoinsListindex - the index of the element to removed.
public boolean addAll(java.util.Collection c)
CoinsList
addAll in interface java.util.ListaddAll in class CoinsListc - the elements to be inserted into this list.
public boolean addAll(int index,
java.util.Collection c)
CoinsList
addAll in interface java.util.ListaddAll in class CoinsListindex - index at which to insert first element
from the specified collection.c - elements to be inserted into this list.public java.util.Iterator iterator()
iterator in interface java.util.Listiterator in class CoinsListpublic java.util.ListIterator listIterator(int index)
listIterator in interface java.util.ListlistIterator in class CoinsList
public java.util.List subList(int fromIndex,
int toIndex)
subList in interface java.util.ListsubList in class CoinsList
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||