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.Object
Class 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 int
compoundToInt(NucleotideCompound c)
boolean
equals(java.lang.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 byjava.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in 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)
-
-