coins.aflow.util
クラス CoinsList.Itr

java.lang.Object
  |
  +--coins.aflow.util.CoinsList.Itr
すべての実装インタフェース:
CoinsIterator, java.util.Iterator, java.util.ListIterator
直系の既知のサブクラス:
SetRefReprListHir.SetRefReprListHirItr
含まれているクラス:
CoinsList

protected class CoinsList.Itr
extends java.lang.Object
implements CoinsIterator


フィールドの概要
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
 

フィールドの詳細

lastReturned

protected CoinsList.Entry lastReturned

next

protected CoinsList.Entry next

nextIndex

protected int nextIndex

expectedModCount

protected int expectedModCount

lNexted

protected boolean lNexted
コンストラクタの詳細

CoinsList.Itr

protected CoinsList.Itr(int index)
メソッドの詳細

hasNext

public boolean hasNext()
定義:
インタフェース java.util.ListIterator 内の hasNext

next

public java.lang.Object next()
インタフェース CoinsIterator の記述:
Returns the next element, and advances the imaginary cursor by one.

定義:
インタフェース CoinsIterator 内の next

hasPrevious

public boolean hasPrevious()
定義:
インタフェース java.util.ListIterator 内の hasPrevious

previous

public java.lang.Object previous()
インタフェース CoinsIterator の記述:
Returns the previous element, and steps back the imaginary cursor by one.

定義:
インタフェース CoinsIterator 内の previous

nextIndex

public int nextIndex()
インタフェース CoinsIterator の記述:
Returns the index of the next element

定義:
インタフェース CoinsIterator 内の nextIndex

previousIndex

public int previousIndex()
インタフェース CoinsIterator の記述:
Returns the index of the previous element

定義:
インタフェース CoinsIterator 内の previousIndex

remove

public void remove()
インタフェース CoinsIterator の記述:
Remove what was returned by the previous call to next or previous

定義:
インタフェース CoinsIterator 内の remove

lastReturned

public java.lang.Object lastReturned()

set

public void set(java.lang.Object o)
定義:
インタフェース java.util.ListIterator 内の set

add

public void add(java.lang.Object o)
インタフェース CoinsIterator の記述:
Returns what was returned by the previous call to 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 内の add

addAfter

public void addAfter(java.lang.Object o)
インタフェース CoinsIterator の記述:
Adds an element to the underlying list after the imaginary cursor of this iterator. That is, the subsequent call to previous will be unaffected while the call to next will return the object added by this method.

定義:
インタフェース CoinsIterator 内の addAfter

checkForComodification

protected final void checkForComodification()