fleXplorer.util
Class Utilities

java.lang.Object
  extended by fleXplorer.util.Utilities

public class Utilities
extends java.lang.Object


Constructor Summary
Utilities()
           
 
Method Summary
 java.util.ArrayList<java.lang.String> getTheHighestTerms(java.util.ArrayList<java.lang.String> terms, Taxonomy<?> tx)
          Returns the terms at highest levels of a taxonomy between a set of terms.
 void printTable(java.lang.String[] array)
          Prints the contents of an array.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utilities

public Utilities()
Method Detail

getTheHighestTerms

public java.util.ArrayList<java.lang.String> getTheHighestTerms(java.util.ArrayList<java.lang.String> terms,
                                                                Taxonomy<?> tx)
Returns the terms at highest levels of a taxonomy between a set of terms.

Parameters:
terms - the set of terms.
tx - the taxonomy.
Returns:
the terms at highest levels of a taxonomy between a set of terms

printTable

public void printTable(java.lang.String[] array)
Prints the contents of an array.

Parameters:
array - the array.