org.aminds.util
クラス NestedIterator<T>

java.lang.Object
  上位を拡張 org.aminds.util.NestedIterator<T>
すべての実装されたインタフェース:
Iterator<T>

public class NestedIterator<T>
extends Object
implements Iterator<T>

Note that it is not thread-safe even though the underlying Iterable objects are thread-safe.

作成者:
Masashi Nakanishi

フィールドの概要
protected  Iterator<? extends T> current
           
protected  Iterator<? extends Iterable<? extends T>> iterator
           
 
コンストラクタの概要
NestedIterator(Iterable<? extends Iterable<? extends T>> o)
           
NestedIterator(Iterator<? extends Iterable<? extends T>> o)
           
 
メソッドの概要
 boolean hasNext()
           
 T next()
           
 void remove()
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

iterator

protected Iterator<? extends Iterable<? extends T>> iterator

current

protected Iterator<? extends T> current
コンストラクタの詳細

NestedIterator

public NestedIterator(Iterable<? extends Iterable<? extends T>> o)

NestedIterator

public NestedIterator(Iterator<? extends Iterable<? extends T>> o)
メソッドの詳細

hasNext

public boolean hasNext()
定義:
インタフェース Iterator<T> 内の hasNext

next

public T next()
定義:
インタフェース Iterator<T> 内の next

remove

public void remove()
定義:
インタフェース Iterator<T> 内の remove


Copyright (c) 2008-2011 Masashi Nakanishi.