jp.cssj.cti2.results
Class SingleResult

java.lang.Object
  extended by jp.cssj.cti2.results.SingleResult
All Implemented Interfaces:
Results

public class SingleResult
extends Object
implements Results

単一の結果を出力するResultsです。

Version:
$Id: SingleResult.java 1034 2013-10-23 05:51:57Z miyabe $
Author:
MIYABE Tatsuhiko

Field Summary
protected  RandomBuilder builder
          出力先のデータ構築オブジェクトです。
 
Constructor Summary
SingleResult(File file)
          ファイルにデータを出力します。
SingleResult(OutputStream out)
          OutputStreamにデータを出力します。
SingleResult(RandomBuilder builder)
          1つのデータ構築オブジェクトに対して出力します。
 
Method Summary
 void end()
          一連のデータ出力を完了します。
 boolean hasNext()
          次の結果を出力可能であればtrueを返します。
 RandomBuilder nextBuilder(MetaSource metaSource)
          次の処理結果を構築するためのビルダを返します。
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

builder

protected RandomBuilder builder
出力先のデータ構築オブジェクトです。

Constructor Detail

SingleResult

public SingleResult(RandomBuilder builder)
1つのデータ構築オブジェクトに対して出力します。

Parameters:
builder -

SingleResult

public SingleResult(OutputStream out)
OutputStreamにデータを出力します。

Parameters:
out -

SingleResult

public SingleResult(File file)
ファイルにデータを出力します。

Parameters:
file -
Method Detail

hasNext

public boolean hasNext()
Description copied from interface: Results
次の結果を出力可能であればtrueを返します。

Specified by:
hasNext in interface Results
Returns:
次の結果を出力可能であればtrueそうでなければfalse。

nextBuilder

public RandomBuilder nextBuilder(MetaSource metaSource)
Description copied from interface: Results
次の処理結果を構築するためのビルダを返します。

Specified by:
nextBuilder in interface Results
Parameters:
metaSource - 出力データのメタ情報。
Returns:
データ構築オブジェクト。

end

public void end()
Description copied from interface: Results
一連のデータ出力を完了します。

Specified by:
end in interface Results


Copyright © 2017 座間ソフト. All rights reserved.