Example usage for org.apache.commons.lang3.builder ToStringBuilder append

List of usage examples for org.apache.commons.lang3.builder ToStringBuilder append

Introduction

In this page you can find the example usage for org.apache.commons.lang3.builder ToStringBuilder append.

Prototype

public ToStringBuilder append(final short[] array) 

Source Link

Document

Append to the toString a short array.

Usage

From source file:org.skfiy.typhon.domain.RoleData.java

@Override
public String toString() {
    ToStringBuilder tsb = new ToStringBuilder(this);
    tsb.append("rid", rid).append("\n");
    tsb.append("normalData", normalData).append("\n");
    tsb.append("bagData", bagData).append("\n");
    tsb.append("heroEntitiesData", heroEntitiesData).append("\n");
    tsb.append("invisibleData", invisibleData).append("\n");
    tsb.append("vacantData", vacantData).append("\n");
    return tsb.toString();
}