owltools.panther
Class PANTHERForest

java.lang.Object
  extended by owltools.panther.PANTHERForest

public class PANTHERForest
extends Object

Methods to simplify the work with sets of PANTHER trees. See: PANTHERTree.


Field Summary
 int fileCount
           
 
Constructor Summary
PANTHERForest(File treeClassifications, List<File> pFilesCollection)
          Create an instance for the given privitve array of files.
 
Method Summary
 Set<PANTHERTree> getAssociatedTrees(String identifier)
          Return the number of unique identifiers found in the set.
 int getNumberOfFilesInSet()
          Return the number of files read into the set.
 int getNumberOfIdentifiersInSet()
          Return the number of unique identifiers found in the set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileCount

public int fileCount
Constructor Detail

PANTHERForest

public PANTHERForest(File treeClassifications,
                     List<File> pFilesCollection)
              throws IOException
Create an instance for the given privitve array of files.

Parameters:
pFilesCollection -
Throws:
IOException
Method Detail

getNumberOfFilesInSet

public int getNumberOfFilesInSet()
Return the number of files read into the set.


getNumberOfIdentifiersInSet

public int getNumberOfIdentifiersInSet()
Return the number of unique identifiers found in the set.


getAssociatedTrees

public Set<PANTHERTree> getAssociatedTrees(String identifier)
Return the number of unique identifiers found in the set. If nothing was found, return null.

Parameters:
identifier -


Copyright © 2010-2012. All Rights Reserved.