public class SourceToTargetMapping extends Object
Constructor and Description |
---|
SourceToTargetMapping(int sourcePosition,
int targetPosition)
Creates a new source-to-target mapping
|
Modifier and Type | Method and Description |
---|---|
int |
getSourcePosition() |
String |
getSourceString(String[] source) |
int |
getTargetPosition() |
String |
getTargetString(String[] target) |
void |
setSourcePosition(int sourcePosition) |
void |
setTargetPosition(int targetPosition) |
public SourceToTargetMapping(int sourcePosition, int targetPosition)
sourcePosition
- targetPosition
- public int getSourcePosition()
public void setSourcePosition(int sourcePosition)
sourcePosition
- The sourcePosition to set.public int getTargetPosition()
public void setTargetPosition(int targetPosition)
targetPosition
- The targetPosition to set.