|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectshohaku.core.collections.decorator.DecoratedIterator
shohaku.core.collections.decorator.UnmodifiableIterator
shohaku.core.collections.decorator.UnmodifiableListIterator
指定されたリスト反復子の変更不可能なビューを提供します。
| フィールドの概要 | |
protected java.util.ListIterator |
li
基となるリスト反復子。 |
| クラス shohaku.core.collections.decorator.DecoratedIterator から継承したフィールド |
i |
| コンストラクタの概要 | |
UnmodifiableListIterator(java.util.ListIterator i)
ラップするリスト反復子を指定して初期化します。 |
|
| メソッドの概要 | |
void |
add(java.lang.Object o)
UnsupportedOperationException を発生させます。 |
boolean |
hasPrevious()
基となるリスト反復子の同メソッドを呼び出します。 |
int |
nextIndex()
基となるリスト反復子の同メソッドを呼び出します。 |
java.lang.Object |
previous()
基となるリスト反復子の同メソッドを呼び出します。 |
int |
previousIndex()
基となるリスト反復子の同メソッドを呼び出します。 |
void |
set(java.lang.Object o)
UnsupportedOperationException を発生させます。 |
| クラス shohaku.core.collections.decorator.UnmodifiableIterator から継承したメソッド |
remove |
| クラス shohaku.core.collections.decorator.DecoratedIterator から継承したメソッド |
hasNext, next |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| インタフェース java.util.ListIterator から継承したメソッド |
hasNext, next, remove |
| フィールドの詳細 |
protected final java.util.ListIterator li
| コンストラクタの詳細 |
public UnmodifiableListIterator(java.util.ListIterator i)
i - ラップするリスト反復子| メソッドの詳細 |
public boolean hasPrevious()
java.util.ListIterator 内の hasPreviousListIterator.hasPrevious()public java.lang.Object previous()
java.util.ListIterator 内の previousListIterator.previous()public int nextIndex()
java.util.ListIterator 内の nextIndexListIterator.nextIndex()public int previousIndex()
java.util.ListIterator 内の previousIndexListIterator.previousIndex()public void set(java.lang.Object o)
java.util.ListIterator 内の setListIterator.set(java.lang.Object)public void add(java.lang.Object o)
java.util.ListIterator 内の addListIterator.add(java.lang.Object)
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||