public RandomNumberGenerator (HashMap params) {
        if (params.containsKey("minvalue")) {
            minvalue = Integer.parseInt((String)params.get("minvalue"));
        }
        
        if (params.containsKey("maxvalue")) {
            maxvalue = Integer.parseInt((String)params.get("maxvalue"));
        }
            
    }