woolpack.fn
クラス SeqFn<C,R>
java.lang.Object
woolpack.fn.SeqFn<C,R>
- 型パラメータ:
C
- R
-
- すべての実装されたインタフェース:
- Fn<C,R>
public class SeqFn<C,R>
- extends java.lang.Object
- implements Fn<C,R>
委譲先を順次実行し、最後に実行した結果を返すFn
です。
- 作成者:
- nakamura
コンストラクタの概要 |
SeqFn(java.lang.Iterable<? extends Fn<? super C,? extends R>> iterable)
|
メソッドの概要 |
R |
exec(C c)
関数を実行します。 |
java.lang.Iterable<? extends Fn<? super C,? extends R>> |
getIterable()
|
void |
setIterable(java.lang.Iterable<? extends Fn<? super C,? extends R>> iterable)
|
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeqFn
public SeqFn(java.lang.Iterable<? extends Fn<? super C,? extends R>> iterable)
exec
public R exec(C c)
- インタフェース
Fn
の記述:
- 関数を実行します。
- 定義:
- インタフェース
Fn<C,R>
内の exec
- パラメータ:
c
- コンテキスト役。
- 戻り値:
- 返却値。
getIterable
public java.lang.Iterable<? extends Fn<? super C,? extends R>> getIterable()
setIterable
public void setIterable(java.lang.Iterable<? extends Fn<? super C,? extends R>> iterable)
Copyright (C) 2006-2007 Takahiro Nakamura. All rights reserved.