private List cloneSequence(){
  if (markerSequence == null) {
    return null;
  }
  List retval=new ArrayList(markerSequence.size());
  Iterator iter=markerSequence.iterator();
  while (iter.hasNext()) {
    MarkerSegment seg=(MarkerSegment)iter.next();
    retval.add(seg.clone());
  }
  return retval;
}

private List cloneSequence ( ) { if ( markerSequence == null ) { return null ; } List retval = new ArrayList ( markerSequence . size ( ) ) ; Iterator iter = markerSequence . iterator ( ) ; while ( iter . hasNext ( ) ) { MarkerSegment seg = ( MarkerSegment ) iter . next ( ) ; retval . add ( seg . clone ( ) ) ; } return retval ; }
returns a deep copy of the current marker sequence .
