Class Table.CaseInsensitiveTriplet
- java.lang.Object
-
- org.biojava.nbio.core.sequence.transcription.Table.CaseInsensitiveTriplet
-
- Enclosing interface:
- Table
public static class Table.CaseInsensitiveTriplet extends java.lang.ObjectClass used to hold three nucleotides together and allow for equality to be assessed in a case insensitive manner.
-
-
Constructor Summary
Constructors Constructor Description CaseInsensitiveTriplet(NucleotideCompound one, NucleotideCompound two, NucleotideCompound three)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompoundToInt(NucleotideCompound c)booleanequals(java.lang.Object obj)NucleotideCompoundgetOne()NucleotideCompoundgetThree()NucleotideCompoundgetTwo()inthashCode()intintValue()Attempts to provide an int version of this codon which multiplies each position byjava.lang.StringtoString()
-
-
-
Constructor Detail
-
CaseInsensitiveTriplet
public 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(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.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)
-
-