org.biojava3.core.sequence.transcription
Class Table.CaseInsensitiveTriplet
java.lang.Object
org.biojava3.core.sequence.transcription.Table.CaseInsensitiveTriplet
- Enclosing interface:
- Table
public static class Table.CaseInsensitiveTriplet
- extends Object
Class used to hold three nucleotides together and allow for equality
to be assessed in a case insensitive manner.
Table.CaseInsensitiveTriplet
public Table.CaseInsensitiveTriplet(NucleotideCompound one,
NucleotideCompound two,
NucleotideCompound three)
getOne
public NucleotideCompound getOne()
getTwo
public NucleotideCompound getTwo()
getThree
public NucleotideCompound getThree()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
intValue
public int intValue()
- Attempts to provide an int version of this codon which multiplies
each position by
compoundToInt
public int compoundToInt(NucleotideCompound c)