import java.io.Serializable;
import java.util.ArrayList;

/**
 * Blueprint class for the object to be saved/restored to/from file.
 * 
 * @author (author)
 * @version (a version number or a date)
 */
public class BioData implements Serializable 
{
    private ArrayList<String> nucleotides;
    
    /**
     * BioData: constructor
     * @param theNucleotide a String
     * @param theScore an int
     */
    public BioData ()
    {
        this.nucleotides = new ArrayList<String>();
    }
    
    /**
     * addData:
     * @param newData a String to add to this collection of bio data.
     */
    public void addData (String newData)
    {
        nucleotides.add (newData);
    }
    
    /**
     * toString
     * @return a String representation of this object.
     */
    public String toString()
    {
        String result = "Nucleotides:\n";
        
        for (String nucleotide : nucleotides) {
           result += nucleotide + "\n";
        }
        
        return result;
    }
}


