クラス 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- 反復が完了したときに閉じるAutoCloseableSE。iterable- 反復可能。function- 関数。- 導入:
- 5.0.7
FunctionIterator
提供されたイテレータと関数を使用してインスタンスを構築します。- パラメーター:
newIterator- イテレータ。function- 関数。
FunctionIterator
public FunctionIterator(@Nullable AutoCloseableSE closeable, IteratorSE<T> newIterator, FunctionSE<? super T, ? extends V> function) 提供されたルートオブジェクト、イテレータ、関数を使用してインスタンスを構築します。- パラメーター:
closeable- 反復が完了したときに閉じるAutoCloseableSE。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