import java.util.ArrayList;
import java.util.List;
public class GenomicCoordsHistory {</BUG>
private List<GenomicCoords> history= new ArrayList<GenomicCoords>();
<BUG>private int positionTracker= -1;
public GenomicCoordsHistory(){}</BUG>
public void add(GenomicCoords gc) {
if(this.history.size() == 0 || !this.history.get(this.history.size() - 1).equalCoords(gc)){
this.history.add((GenomicCoords) gc.clone());
}

import java.util.ArrayList;
import java.util.List;
import exceptions.InvalidGenomicCoordsException;
import exceptions.InvalidRecordException;
import tracks.TrackIntervalFeature;
public class GenomicCoordsHistory {
private List<GenomicCoords> history= new ArrayList<GenomicCoords>();
private int positionTracker= -1;
private String seqRegex= "";
public GenomicCoordsHistory(){}
public void add(GenomicCoords gc) {
if(this.history.size() == 0 || !this.history.get(this.history.size() - 1).equalCoords(gc)){
this.history.add((GenomicCoords) gc.clone());
}
