Class SourceToTargetMapping


  • public class SourceToTargetMapping
    extends Object
    • Constructor Detail

      • SourceToTargetMapping

        public SourceToTargetMapping​(int sourcePosition,
                                     int targetPosition)
        Creates a new source-to-target mapping
        Parameters:
        sourcePosition -
        targetPosition -
    • Method Detail

      • getSourcePosition

        public int getSourcePosition()
        Returns:
        Returns the sourcePosition.
      • setSourcePosition

        public void setSourcePosition​(int sourcePosition)
        Parameters:
        sourcePosition - The sourcePosition to set.
      • getTargetPosition

        public int getTargetPosition()
        Returns:
        Returns the targetPosition.
      • setTargetPosition

        public void setTargetPosition​(int targetPosition)
        Parameters:
        targetPosition - The targetPosition to set.
      • getSourceString

        public String getSourceString​(String[] source)
      • getTargetString

        public String getTargetString​(String[] target)