jp.go.nict.langrid.service_1_2.translation
クラス AsyncTranslationResult

java.lang.Object
  上位を拡張 jp.go.nict.langrid.service_1_2.translation.AsyncTranslationResult

public class AsyncTranslationResult
extends Object

非同期翻訳の結果を格納する。

作成者:
Takao Nakaguchi

コンストラクタの概要
AsyncTranslationResult()
          The constructor.
AsyncTranslationResult(boolean finished, String[] results)
          The constructor.
 
メソッドの概要
 String[] getResults()
          Returns the current results.
 boolean isFinished()
          Returns finished.
 void setFinished(boolean finished)
          Sets the finished.
 void setResults(String[] results)
          Sets the current results.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

AsyncTranslationResult

public AsyncTranslationResult()
The constructor.


AsyncTranslationResult

public AsyncTranslationResult(boolean finished,
                              String[] results)
The constructor.

パラメータ:
finished - true if asynchronous translation has done.
results - current results
メソッドの詳細

isFinished

public boolean isFinished()
Returns finished.

戻り値:
finished

setFinished

public void setFinished(boolean finished)
Sets the finished.

パラメータ:
finished - finished

getResults

public String[] getResults()
Returns the current results.

戻り値:

setResults

public void setResults(String[] results)
Sets the current results.

パラメータ:
results - current results.