Class ParameterGrabber
- java.lang.Object
-
- ubic.basecode.dataStructure.params.ParameterGrabber
-
public class ParameterGrabber extends Object
Generates a parameter map from a class using reflection, usefull for storing experimental parameters- Author:
- leon
-
-
Constructor Summary
Constructors Constructor Description ParameterGrabber()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,String>
getParams(Class<?> c, Object o)
Given an instance of a class this method will extract its primitive variable names and their values using reflection.static String
paramsToLine(Map<String,String> params)
static String
paramsToLine(Map<String,String> params, boolean sort)
-