Class ParameterGrabber


  • public class ParameterGrabber
    extends Object
    Generates a parameter map from a class using reflection, usefull for storing experimental parameters
    Author:
    leon
    • Constructor Detail

      • ParameterGrabber

        public ParameterGrabber()
    • Method Detail

      • getParams

        public 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.
        Parameters:
        c - - class
        o - - object
        Returns: