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 java.lang.Object
Class used to hold three nucleotides together and allow for equality
to be assessed in a case insensitive manner.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.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)