edu.cmu.cs.sb.chromviewer
Class Gene

java.lang.Object
  extended by edu.cmu.cs.sb.chromviewer.Gene

public class Gene
extends java.lang.Object

Encapsulates information about a gene


Field Summary
 int chromosome
           
 int end
           
 java.lang.String namechrom
           
 int start
           
 char strand
           
 
Constructor Summary
Gene()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          True if both objects are equal with all the same field values
 int hashCode()
          Converts the gene information to a unique integer hash code
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

namechrom

public java.lang.String namechrom

chromosome

public int chromosome

strand

public char strand

start

public int start

end

public int end
Constructor Detail

Gene

public Gene()
Method Detail

hashCode

public int hashCode()
Converts the gene information to a unique integer hash code

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
True if both objects are equal with all the same field values

Overrides:
equals in class java.lang.Object