@Test public void testInteger() { assertTrue(StringToObject.convertStringToObject("1") instanceof Integer); assertEquals(new Integer(1), StringToObject.convertStringToObject("1")); assertTrue(StringToObject.convertStringToObject("-5") instanceof Integer); assertEquals(new Integer(-5), StringToObject.convertStringToObject("-5")); }
public static Object convertStringToObject(String s) { return convertStringToObject(s, new Properties()); }
StringToObject { public static Object convertStringToObject(String s) { return convertStringToObject(s, new Properties()); } }
StringToObject { public static Object convertStringToObject(String s) { return convertStringToObject(s, new Properties()); } private  StringToObject(); }
StringToObject { public static Object convertStringToObject(String s) { return convertStringToObject(s, new Properties()); } private  StringToObject(); static Object convertStringToObject(String s); static Object convertStringToObject(String s, Properties config); }
StringToObject { public static Object convertStringToObject(String s) { return convertStringToObject(s, new Properties()); } private  StringToObject(); static Object convertStringToObject(String s); static Object convertStringToObject(String s, Properties config);  }