*/
package jalview.datamodel;
-import jalview.util.Comparison;
-import jalview.util.MapList;
-
import java.util.Iterator;
import java.util.NoSuchElementException;
import java.util.Vector;
+import jalview.util.Comparison;
+import jalview.util.MapList;
+
public class Mapping
{
/**
}
/**
- * gets boundary in direction of mapping
- *
- * @param position
- * in mapped reference frame
- * @return int{start, end} positions in associated sequence (in direction of
- * mapped word)
- */
- public int[] getWord(int mpos)
- {
- if (map != null)
- {
- return map.getToWord(mpos);
- }
- return null;
- }
-
- /**
* width of mapped unit in associated sequence
*
*/
to = tto;
}
- /*
- * (non-Javadoc)
- *
- * @see java.lang.Object#finalize()
- */
- @Override
- protected void finalize() throws Throwable
- {
- map = null;
- to = null;
- super.finalize();
- }
-
/**
* Returns an iterator which can serve up the aligned codon column positions
* and their corresponding peptide products