Example usage for org.apache.commons.lang.builder StandardToStringStyle setUseIdentityHashCode

List of usage examples for org.apache.commons.lang.builder StandardToStringStyle setUseIdentityHashCode

Introduction

In this page you can find the example usage for org.apache.commons.lang.builder StandardToStringStyle setUseIdentityHashCode.

Prototype

public void setUseIdentityHashCode(boolean useIdentityHashCode) 

Source Link

Document

Sets whether to use the identity hash code.

Usage

From source file:com.uimirror.image.form.UimImageFormParam.java

@Override
public String toString() {
    StandardToStringStyle style = new StandardToStringStyle();
    style.setFieldSeparator(", ");
    style.setUseClassName(false);//from   ww w  . j  a v  a2  s. c  o  m
    style.setUseIdentityHashCode(false);
    return new ReflectionToStringBuilder(this, style).toString();
}