net.sourceforge.cilib.bioinf.rnaprediction
Class StemGenerator.PivotString

java.lang.Object
  extended by net.sourceforge.cilib.bioinf.rnaprediction.StemGenerator.PivotString
Enclosing class:
StemGenerator

public class StemGenerator.PivotString
extends Object


Constructor Summary
StemGenerator.PivotString(String str, boolean pivotOn)
           
 
Method Summary
 boolean canBind(int index)
           
 int get3prime(int index)
           
 int get5prime(int index)
           
 char getComplimentaryNucleotide(int index)
           
 char getNucleotide(int index)
           
 boolean hasNext()
           
 int length()
           
 boolean next()
           
 void reset()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StemGenerator.PivotString

public StemGenerator.PivotString(String str,
                                 boolean pivotOn)
Method Detail

length

public int length()
Returns:
the length of the overlapping part of the string

reset

public void reset()

hasNext

public boolean hasNext()

next

public boolean next()

getNucleotide

public char getNucleotide(int index)

getComplimentaryNucleotide

public char getComplimentaryNucleotide(int index)

get5prime

public int get5prime(int index)

get3prime

public int get3prime(int index)

canBind

public boolean canBind(int index)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 CIRG. All Rights Reserved.