iglu.util
Class VSMUtils

java.lang.Object
  |
  +--iglu.util.VSMUtils

public class VSMUtils
extends java.lang.Object

Some utilities for doing manipulating ValueSortedMaps. This class should never be instantiated. All its methods are static.

Version:
1.0
Author:
Travis Bauer trbauer@indiana.edu
See Also:
ValueSortedMap

Constructor Summary
private VSMUtils()
          prevents instantiation
 
Method Summary
static java.lang.String tableString(int n, ValueSortedMap vsm)
          Returns a string which, when printed, will display the top n elements in a table-like manner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VSMUtils

private VSMUtils()
prevents instantiation

Method Detail

tableString

public static java.lang.String tableString(int n,
                                           ValueSortedMap vsm)
Returns a string which, when printed, will display the top n elements in a table-like manner