Example usage for org.apache.commons.lang ObjectUtils identityToString

List of usage examples for org.apache.commons.lang ObjectUtils identityToString

Introduction

In this page you can find the example usage for org.apache.commons.lang ObjectUtils identityToString.

Prototype

public static String identityToString(Object object) 

Source Link

Document

Gets the toString that would be produced by Object if a class did not override toString itself.

Usage

From source file:org.objectstyle.cayenne.access.DataDomain.java

public String toString() {
    StringBuffer buffer = new StringBuffer();
    buffer.append(ObjectUtils.identityToString(this)).append(":[").append(getName()).append("]");

    return buffer.toString();
}