|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectPIP.Collections.Distribution.HistogramUtility
public class HistogramUtility
This is just a helper class for analysis code
| Constructor Summary | |
|---|---|
HistogramUtility()
|
|
| Method Summary | ||
|---|---|---|
static
|
histogramCollectionSizes(java.util.Collection<E> mainCollection,
Distribution<java.lang.Integer> hist)
|
|
static void |
saveAsCSVDataFile(Histogram hist,
java.lang.String name)
This saves the histogram in csv format in the directory which is the DATADIR property |
|
static void |
sortByKeyAndSave(Histogram<java.lang.Integer> hist,
java.lang.String fileName)
This saves the histogram in csv format in the order of the key value in the directory which is the DATADIR property |
|
static void |
sortByValueAndSave(Histogram<java.lang.Integer> hist,
java.lang.String fileName)
This saves the histogram in csv format in the order of the value in the directory which is the DATADIR property |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HistogramUtility()
| Method Detail |
|---|
public static <E extends java.util.Collection> void histogramCollectionSizes(java.util.Collection<E> mainCollection,
Distribution<java.lang.Integer> hist)
public static void saveAsCSVDataFile(Histogram hist,
java.lang.String name)
throws java.io.IOException
hist -
java.io.FileNotFoundException
java.io.IOException
public static void sortByKeyAndSave(Histogram<java.lang.Integer> hist,
java.lang.String fileName)
throws java.io.FileNotFoundException
hist - fileName -
java.io.FileNotFoundException
public static void sortByValueAndSave(Histogram<java.lang.Integer> hist,
java.lang.String fileName)
throws java.io.FileNotFoundException
hist - fileName -
java.io.FileNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||