Here you can find the source of objectToString(Object o)
Parameter | Description |
---|---|
o | a parameter |
static String objectToString(Object o)
//package com.java2s; //License from project: Open Source License public class Main { /**//from www . j a v a 2 s. c o m * @param o * @return %s {instance of: %s} */ static String objectToString(Object o) { return String.format("%s {instance of: %s}", o, o.getClass()); } }