|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object | +--coins.aflow.util.CoinsList.Itr
| フィールドの概要 | |
protected int |
expectedModCount
|
protected CoinsList.Entry |
lastReturned
|
protected boolean |
lNexted
|
protected CoinsList.Entry |
next
|
protected int |
nextIndex
|
| コンストラクタの概要 | |
protected |
CoinsList.Itr(int index)
|
| メソッドの概要 | |
void |
add(java.lang.Object o)
Returns what was returned by the previous call to next or previous
This is what will be removed by remove. |
void |
addAfter(java.lang.Object o)
Adds an element to the underlying list after the imaginary cursor of this iterator. |
protected void |
checkForComodification()
|
boolean |
hasNext()
|
boolean |
hasPrevious()
|
java.lang.Object |
lastReturned()
|
java.lang.Object |
next()
Returns the next element, and advances the imaginary cursor by one. |
int |
nextIndex()
Returns the index of the next element |
java.lang.Object |
previous()
Returns the previous element, and steps back the imaginary cursor by one. |
int |
previousIndex()
Returns the index of the previous element |
void |
remove()
Remove what was returned by the previous call to next or previous |
void |
set(java.lang.Object o)
|
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
protected CoinsList.Entry lastReturned
protected CoinsList.Entry next
protected int nextIndex
protected int expectedModCount
protected boolean lNexted
| コンストラクタの詳細 |
protected CoinsList.Itr(int index)
| メソッドの詳細 |
public boolean hasNext()
java.util.ListIterator 内の hasNextpublic java.lang.Object next()
CoinsIterator の記述:
CoinsIterator 内の nextpublic boolean hasPrevious()
java.util.ListIterator 内の hasPreviouspublic java.lang.Object previous()
CoinsIterator の記述:
CoinsIterator 内の previouspublic int nextIndex()
CoinsIterator の記述:
CoinsIterator 内の nextIndexpublic int previousIndex()
CoinsIterator の記述:
CoinsIterator 内の previousIndexpublic void remove()
CoinsIterator の記述: next or previous
CoinsIterator 内の removepublic java.lang.Object lastReturned()
public void set(java.lang.Object o)
java.util.ListIterator 内の setpublic void add(java.lang.Object o)
CoinsIterator の記述: next or previous
This is what will be removed by remove. In the situation where remove will throw IllegalArgumentException, this method will return null.
Object lastReturned();
/**
Adds an element to the underlying list before the imaginary cursor of this iterator. That is, the subsequent call to next will be unaffected while the call to previous will return the object added by this method.
CoinsIterator 内の addpublic void addAfter(java.lang.Object o)
CoinsIterator の記述: previous will be unaffected while the call to next will return the object added by this method.
CoinsIterator 内の addAfterprotected final void checkForComodification()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||