jpayne@68: package aligner; jpayne@68: jpayne@68: import prok.GeneCaller; jpayne@68: import stream.Read; jpayne@68: jpayne@68: public class Alignment implements Comparable{ jpayne@68: jpayne@68: public Alignment(Read r_){ jpayne@68: r=r_; jpayne@68: } jpayne@68: jpayne@68: @Override jpayne@68: public int compareTo(Alignment o) { jpayne@68: return id>o.id ? 1 : ido.r.length() ? 1 : r.length()