org.biojava3.core.sequence.transcription
Class Table.CaseInsensitiveTriplet

java.lang.Object
  extended by 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.


Constructor Summary
Table.CaseInsensitiveTriplet(NucleotideCompound one, NucleotideCompound two, NucleotideCompound three)
           
 
Method Summary
 int compoundToInt(NucleotideCompound c)
           
 boolean equals(Object obj)
           
 NucleotideCompound getOne()
           
 NucleotideCompound getThree()
           
 NucleotideCompound getTwo()
           
 int hashCode()
           
 int intValue()
          Attempts to provide an int version of this codon which multiplies each position by
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Table.CaseInsensitiveTriplet

public Table.CaseInsensitiveTriplet(NucleotideCompound one,
                                    NucleotideCompound two,
                                    NucleotideCompound three)
Method Detail

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)