public class ToStringBuilder extends Object
| Constructor and Description |
|---|
ToStringBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ToStringBuilder |
append(Object obj)
Append the obj for the purpose of building the final toString representation.
|
ToStringBuilder |
append(String name,
Object obj) |
String |
toString() |
public ToStringBuilder append(Object obj)
obj - The object to be appended.public ToStringBuilder append(String name, Object obj)
name - The name of the object to be appended.obj - The object to be appended.Copyright © 2014. All rights reserved.