public class MultihopTranslationResult extends Object implements Serializable
Constructor and Description |
---|
MultihopTranslationResult()
Constructor.
|
MultihopTranslationResult(String[] intermediates,
String target)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object value) |
String[] |
getIntermediates()
Gets the intermediate translation results.
|
String |
getTarget()
Get translation results.
|
int |
hashCode() |
void |
setIntermediates(String[] intermediates)
Sets the intermediate translation results.
|
void |
setTarget(String target)
Set translation results.
|
String |
toString() |
public String[] getIntermediates()
public void setIntermediates(String[] intermediates)
intermediates
- Intermediate translation resultspublic String getTarget()
public void setTarget(String target)
target
- Translation results