X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Fsurfacing%2FCombinableDomains.java;h=28fa0e25349a931867cccc2e8bc24566a9d4ce22;hb=4aaa7b9109d4a4d7ed9c2f6cbba7c960a81a9ed0;hp=028810edf7e95b6abe06db7176e4357d08ce733d;hpb=08a92c65e8b969a3ce2a4b511055cd6029357831;p=jalview.git diff --git a/forester/java/src/org/forester/surfacing/CombinableDomains.java b/forester/java/src/org/forester/surfacing/CombinableDomains.java index 028810e..28fa0e2 100644 --- a/forester/java/src/org/forester/surfacing/CombinableDomains.java +++ b/forester/java/src/org/forester/surfacing/CombinableDomains.java @@ -43,17 +43,6 @@ public interface CombinableDomains { public void addCombinableDomain( final String protein_domain ); /** - * - * This must return all domains in this set of combinable domains (i.e. - * the key domain and all domains which can combine with the key domain). - * - * @return all domains - */ - List getAllDomains(); - - List getCombinableDomains(); - - /** * Returns the combinable domain identifiers sorted in alphabetical manner: - * keys are the combinable domain identifiers - values are the counts of * proteins exhibiting a particular combination @@ -80,6 +69,8 @@ public interface CombinableDomains { */ public int getKeyDomainCount(); + public Set getKeyDomainProteins(); + /** * Returns how many proteins with the key domain are present in a given * species genome. @@ -88,8 +79,6 @@ public interface CombinableDomains { */ public int getKeyDomainProteinsCount(); - public Set getKeyDomainProteins(); - public int getNumberOfCombinableDomains(); public int getNumberOfProteinsExhibitingCombination( final String protein_domain ); @@ -103,6 +92,21 @@ public interface CombinableDomains { public boolean isCombinable( final String protein_domain ); + public List toBinaryDomainCombinations(); + + void addKeyDomainProtein( String protein ); + + /** + * + * This must return all domains in this set of combinable domains (i.e. + * the key domain and all domains which can combine with the key domain). + * + * @return all domains + */ + List getAllDomains(); + + List getCombinableDomains(); + /** * Sets how many times the key domain is present in a given species genome. * @@ -110,8 +114,4 @@ public interface CombinableDomains { * key domain count in species */ void setKeyDomainCount( final int key_domain_count ); - - public List toBinaryDomainCombinations(); - - void addKeyDomainProtein( String protein ); } \ No newline at end of file