@Test public void testQuery01() throws Exception { assertThat(Functions.query(null), is("")); assertThat(Functions.query(""), is("")); assertThat(Functions.query("aaaa"), is("")); assertThat(Functions.query(1), is("")); assertThat(Functions.query(1.0), is("")); assertThat(Functions.query(1L), is("")); assertThat(Functions.query(new Date()), is("")); assertThat(Functions.query(Locale.getDefault()), is("")); assertThat(Functions.query(new URL("http: assertThat(Functions.query(new Object[] { "1", "2", "3" }), is("")); assertThat(Functions.query(new int[] { 1, 2, 3 }), is("")); assertThat(Functions.query(Arrays.asList("a", "b", "c")), is("")); }
public static String query(Object params) { if (params == null) { return ""; } Class<?> clazz = params.getClass(); if (BeanUtils.isSimpleValueType(clazz)) { return ""; } return mapToQuery(OBJECT_TO_MAP_CONVERTER.convert(params)); }
Functions { public static String query(Object params) { if (params == null) { return ""; } Class<?> clazz = params.getClass(); if (BeanUtils.isSimpleValueType(clazz)) { return ""; } return mapToQuery(OBJECT_TO_MAP_CONVERTER.convert(params)); } }
Functions { public static String query(Object params) { if (params == null) { return ""; } Class<?> clazz = params.getClass(); if (BeanUtils.isSimpleValueType(clazz)) { return ""; } return mapToQuery(OBJECT_TO_MAP_CONVERTER.convert(params)); } private  Functions(); }
Functions { public static String query(Object params) { if (params == null) { return ""; } Class<?> clazz = params.getClass(); if (BeanUtils.isSimpleValueType(clazz)) { return ""; } return mapToQuery(OBJECT_TO_MAP_CONVERTER.convert(params)); } private  Functions(); static String h(Object input); static String u(String value); static String br(String value); static String cut(String value, int length); static String link(String value); static String mapToQuery(Map<String, ?> map); @Deprecated static String mapToQuery(Map<String, ?> map,
            BeanWrapper beanWrapper); static String query(Object params); static String js(String value); static String hjs(String input); }
Functions { public static String query(Object params) { if (params == null) { return ""; } Class<?> clazz = params.getClass(); if (BeanUtils.isSimpleValueType(clazz)) { return ""; } return mapToQuery(OBJECT_TO_MAP_CONVERTER.convert(params)); } private  Functions(); static String h(Object input); static String u(String value); static String br(String value); static String cut(String value, int length); static String link(String value); static String mapToQuery(Map<String, ?> map); @Deprecated static String mapToQuery(Map<String, ?> map,
            BeanWrapper beanWrapper); static String query(Object params); static String js(String value); static String hjs(String input);  }