net.sourceforge.cilib.bioinf.rnaprediction
Class StemConflictTable

java.lang.Object
  extended by net.sourceforge.cilib.bioinf.rnaprediction.StemConflictTable

public final class StemConflictTable
extends Object

TODO: Compelte this javadoc.


Method Summary
 void clear(int row, int col)
          Clears a specific bit (0) in the matrix.
 void clearAll()
          this method will set all the bits to 0.
 void create(int size)
          Creates a matrix of dimensions size*size.
 boolean get(int row, int col)
          Returns the value of a bit.
static StemConflictTable getInstance()
           
 void setBit(int row, int col)
          Sets a bit (1) in the matrix.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static StemConflictTable getInstance()

create

public void create(int size)
Creates a matrix of dimensions size*size.

Parameters:
size - The size of the matrix.

clearAll

public void clearAll()
this method will set all the bits to 0.


setBit

public void setBit(int row,
                   int col)
Sets a bit (1) in the matrix.

Parameters:
row - the row.
col - The column.

get

public boolean get(int row,
                   int col)
Returns the value of a bit.

Parameters:
row - The row.
col - The column.
Returns:
the value of the bit at row and col.

clear

public void clear(int row,
                  int col)
Clears a specific bit (0) in the matrix.

Parameters:
row - The row.
col - The column.


Copyright © 2009 CIRG. All Rights Reserved.