I'm writing a class that should implement two interfaces, DNARecord and Comparable.
When I I do something like
public class FastqRecord implements DNARecord Comparable<FastaRecord>{}
the class does not compile.
If I do this
public class FastqRecord implements DNARecord {}
it works, but I don't know what to do with Comparable. Should I put it on the constructor or how do I add it to the class declaration?