|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.framework.util.tiger.IterableAdapter<E>
E - Enumerationの要素型public class IterableAdapter<E>
EnumerationをIterableとして扱うためのユーティリティ。
| コンストラクタの概要 | |
|---|---|
IterableAdapter(Enumeration<E> enumeration)
インスタンスを構築します。 |
|
| メソッドの概要 | ||
|---|---|---|
boolean |
hasNext()
|
|
static
|
iterable(Enumeration<E> enumeration)
EnumerationをIterableとして扱うIterableAdapterを作成して返します。 |
|
Iterator<E> |
iterator()
Enumerationの反復子を返します。 |
|
E |
next()
|
|
void |
remove()
このメソッドはサポートされません。 |
|
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public IterableAdapter(Enumeration<E> enumeration)
enumeration - 反復対象となるEnumeration| メソッドの詳細 |
|---|
public static <E> IterableAdapter<E> iterable(Enumeration<E> enumeration)
EnumerationをIterableとして扱うIterableAdapterを作成して返します。
E - Enumerationの要素型enumeration - 反復対象となるEnumeration
EnumerationをIterableとして扱うIterableAdapterpublic Iterator<E> iterator()
Enumerationの反復子を返します。
Iterable<E> 内の iteratorEnumerationの反復子public boolean hasNext()
Iterator<E> 内の hasNextIterator.hasNext()public E next()
Iterator<E> 内の nextIterator.hasNext()public void remove()
Iterator<E> 内の removeIterator.remove()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||