public class FunctionIterator<T,V> extends ObjectSE implements CloseableIterator<V>
| コンストラクターと説明 |
|---|
FunctionIterator(AutoCloseableSE closeable, IterableSE<T> iterable, java.util.function.FunctionSE<? super T,? extends V> function) 提供されたルートオブジェクト、反復可能および関数を使用してインスタンスを構築します。 |
FunctionIterator(AutoCloseableSE closeable, IteratorSE<T> newIterator, java.util.function.FunctionSE<? super T,? extends V> function) 提供されたルートオブジェクト、イテレータ、関数を使用してインスタンスを構築します。 |
FunctionIterator(IterableSE<T> iterable, java.util.function.FunctionSE<? super T,? extends V> function) 提供された iterable と関数を使用してインスタンスを構築します。 |
FunctionIterator(IteratorSE<T> newIterator, java.util.function.FunctionSE<? super T,? extends V> function) 提供されたイテレータと関数を使用してインスタンスを構築します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | close() |
boolean | hasNext() |
V | next() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEforEachRemainingSE, removeSEpublic FunctionIterator(IterableSE<T> iterable, java.util.function.FunctionSE<? super T,? extends V> function)
iterable - 反復可能。function - 関数。public FunctionIterator(@Nullable AutoCloseableSE closeable, IterableSE<T> iterable, java.util.function.FunctionSE<? super T,? extends V> function)
closeable - 反復が完了したときに閉じる AutoCloseableSE。iterable - 反復可能。function - 関数。public FunctionIterator(IteratorSE<T> newIterator, java.util.function.FunctionSE<? super T,? extends V> function)
newIterator - イテレータ。function - 関数。public FunctionIterator(@Nullable AutoCloseableSE closeable, IteratorSE<T> newIterator, java.util.function.FunctionSE<? super T,? extends V> function)
closeable - 反復が完了したときに閉じる AutoCloseableSE。newIterator - イテレータ。function - 関数。public boolean hasNext()
IteratorSE<V> の hasNextSE public V next()
IteratorSE<V> の nextSE public void close()
AutoCloseableSE の closeSE CloseableIterator<V> の close