@Test public void testToString() { Integer i = null; assertNull(Tools.toString(i)); i = 2; assertEquals("2", Tools.toString(i)); }
public static String toString(Object value) { return ((value == null) ? null : String.valueOf(value)); }
Tools { public static String toString(Object value) { return ((value == null) ? null : String.valueOf(value)); } }
Tools { public static String toString(Object value) { return ((value == null) ? null : String.valueOf(value)); } private  Tools(); }
Tools { public static String toString(Object value) { return ((value == null) ? null : String.valueOf(value)); } private  Tools(); static String toString(Object value); static String joinNonEmpty(String[] array, char separator); static String marshalToXml(Object obj, Class sourceClass); @SuppressWarnings("unchecked") static String marshalToXml(T obj, QName qName); @SuppressWarnings("unchecked") static T unmarshalFromXml(String xml, Class<T> targetClass); static DateTime toUTC(DateTime localDateTime); static DateTime fromUTC(DateTime utcTime); static DateTime fromUTC(long utcMillis); }
Tools { public static String toString(Object value) { return ((value == null) ? null : String.valueOf(value)); } private  Tools(); static String toString(Object value); static String joinNonEmpty(String[] array, char separator); static String marshalToXml(Object obj, Class sourceClass); @SuppressWarnings("unchecked") static String marshalToXml(T obj, QName qName); @SuppressWarnings("unchecked") static T unmarshalFromXml(String xml, Class<T> targetClass); static DateTime toUTC(DateTime localDateTime); static DateTime fromUTC(DateTime utcTime); static DateTime fromUTC(long utcMillis);  }