Package org.forester.protein
Class BasicDomain
java.lang.Object
org.forester.protein.BasicDomain
- All Implemented Interfaces:
 Comparable<Domain>,Domain
- 
Constructor Summary
ConstructorsConstructorDescriptionBasicDomain(String id) BasicDomain(String id, int from, int to, short number, short total_count, double per_domain_evalue, double per_domain_score)  - 
Method Summary
Modifier and TypeMethodDescriptionintBasic domains are compared/sorted based upon their identifiers (case insensitive) and their numbers.booleanBasic domains are considered equal if they have the same identifier (case sensitive).intgetFrom()intshortdoubledoubleintgetTo()shortinthashCode()static final shortstatic final StringobtainIdFromShort(short id) toString() 
- 
Constructor Details
- 
BasicDomain
 - 
BasicDomain
public BasicDomain(String id, int from, int to, short number, short total_count, double per_domain_evalue, double per_domain_score)  
 - 
 - 
Method Details
- 
compareTo
Basic domains are compared/sorted based upon their identifiers (case insensitive) and their numbers.- Specified by:
 compareToin interfaceComparable<Domain>
 - 
equals
Basic domains are considered equal if they have the same identifier (case sensitive). - 
getDomainId
- Specified by:
 getDomainIdin interfaceDomain
 - 
getFrom
public int getFrom() - 
getLength
public int getLength() - 
getNumber
public short getNumber() - 
getPerDomainEvalue
public double getPerDomainEvalue()- Specified by:
 getPerDomainEvaluein interfaceDomain
 - 
getPerDomainScore
public double getPerDomainScore()- Specified by:
 getPerDomainScorein interfaceDomain
 - 
getTo
public int getTo() - 
getTotalCount
public short getTotalCount()- Specified by:
 getTotalCountin interfaceDomain
 - 
hashCode
public int hashCode() - 
toString
 - 
toStringBuffer
 - 
obtainIdAsShort
 - 
obtainIdFromShort
 
 -