2 * BioJava development code
4 * This code may be freely distributed and modified under the
5 * terms of the GNU Lesser General Public Licence. This should
6 * be distributed with the code. If you do not have a copy,
9 * http://www.gnu.org/copyleft/lesser.html
11 * Copyright for this code is held jointly by the individual
12 * authors. These should be listed in @author doc comments.
14 * For more information on the BioJava project and its aims,
15 * or to join the biojava-l mailing list, visit the home page
18 * http://www.biojava.org/
20 * Created on 22.09.2004
21 * @author Andreas Prlic
25 package org.biojava.dasobert.feature;
27 import java.util.Iterator;
30 * a class to store FeatureData and to visualize them coordinate system of
31 * features is always UniProt ! PDBresnum features served by DAS need to be
32 * converted into UniProt coord sys first.
34 * a feature consists of one or several segments. segmetns cotnains <start> and
37 * @author Andreas Prlic
39 public class FeatureTrackImpl extends AbstractFeatureTrack implements
47 FeatureTrack f = new FeatureTrackImpl();
56 Iterator iter = segments.iterator();
58 while (iter.hasNext())
60 Segment s = (Segment) iter.next();
61 f.addSegment((Segment) s.clone());