クラス FunctionIterator<T,V>
java.lang.ObjectSE
org.springframework.integration.util.FunctionIterator<T,V>
- 型パラメーター:
T
- 受信イテレータ要素型。V
- 送信要素型。
- 実装されたすべてのインターフェース:
AutoCloseableSE
、IteratorSE<V>
、CloseableIterator<V>
- 導入:
- 4.1
- 作成者:
- Artem Bilan, Ruslan Stelmachenko, Gary Russell
コンストラクターの概要
コンストラクターコンストラクター説明FunctionIterator
(AutoCloseableSE closeable, IterableSE<T> iterable, FunctionSE<? super T, ? extends V> function) 提供されたルートオブジェクト、反復可能および関数を使用してインスタンスを構築します。FunctionIterator
(AutoCloseableSE closeable, IteratorSE<T> newIterator, FunctionSE<? super T, ? extends V> function) 提供されたルートオブジェクト、イテレータ、関数を使用してインスタンスを構築します。FunctionIterator
(IterableSE<T> iterable, FunctionSE<? super T, ? extends V> function) 提供された iterable と関数を使用してインスタンスを構築します。FunctionIterator
(IteratorSE<T> newIterator, FunctionSE<? super T, ? extends V> function) 提供されたイテレータと関数を使用してインスタンスを構築します。メソッドのサマリー
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース java.util.IteratorSE から継承されたメソッド
forEachRemainingSE, remove
コンストラクターの詳細
FunctionIterator
提供された iterable と関数を使用してインスタンスを構築します。- パラメーター:
iterable
- 反復可能。function
- 関数。
FunctionIterator
public FunctionIterator(@Nullable AutoCloseableSE closeable, IterableSE<T> iterable, FunctionSE<? super T, ? extends V> function) 提供されたルートオブジェクト、反復可能および関数を使用してインスタンスを構築します。- パラメーター:
closeable
- 反復が完了したときに閉じるAutoCloseable
SE。iterable
- 反復可能。function
- 関数。- 導入:
- 5.0.7
FunctionIterator
提供されたイテレータと関数を使用してインスタンスを構築します。- パラメーター:
newIterator
- イテレータ。function
- 関数。
FunctionIterator
public FunctionIterator(@Nullable AutoCloseableSE closeable, IteratorSE<T> newIterator, FunctionSE<? super T, ? extends V> function) 提供されたルートオブジェクト、イテレータ、関数を使用してインスタンスを構築します。- パラメーター:
closeable
- 反復が完了したときに閉じるAutoCloseable
SE。newIterator
- イテレータ。function
- 関数。- 導入:
- 5.0.7
メソッドの詳細
hasNext
public boolean hasNext()- 次で指定:
- インターフェース
IteratorSE<T>
のhasNext
next
- 次で指定:
- インターフェース
IteratorSE<T>
のnext
close
public void close()- 次で指定:
- インターフェース
AutoCloseableSE
のclose
- 次で指定:
- インターフェース
CloseableIterator<T>
のclose