Package | Description |
---|---|
org.tinygroup.commons.tools |
Modifier and Type | Method and Description |
---|---|
ToStringBuilder |
ToStringBuilder.append(boolean value) |
ToStringBuilder |
ToStringBuilder.append(byte value) |
ToStringBuilder |
ToStringBuilder.append(char value) |
ToStringBuilder |
ToStringBuilder.append(double value) |
ToStringBuilder |
ToStringBuilder.append(float value) |
ToStringBuilder |
ToStringBuilder.append(int value) |
ToStringBuilder |
ToStringBuilder.append(long value) |
ToStringBuilder |
ToStringBuilder.append(Object value) |
ToStringBuilder |
ToStringBuilder.append(short value) |
ToStringBuilder |
ToStringBuilder.appendArray(boolean[] list) |
ToStringBuilder |
ToStringBuilder.appendArray(boolean[] list,
int offset,
int length) |
ToStringBuilder |
ToStringBuilder.appendArray(byte[] list) |
ToStringBuilder |
ToStringBuilder.appendArray(byte[] list,
int offset,
int length) |
ToStringBuilder |
ToStringBuilder.appendArray(char[] list) |
ToStringBuilder |
ToStringBuilder.appendArray(char[] list,
int offset,
int length) |
ToStringBuilder |
ToStringBuilder.appendArray(double[] list) |
ToStringBuilder |
ToStringBuilder.appendArray(double[] list,
int offset,
int length) |
ToStringBuilder |
ToStringBuilder.appendArray(float[] list) |
ToStringBuilder |
ToStringBuilder.appendArray(float[] list,
int offset,
int length) |
ToStringBuilder |
ToStringBuilder.appendArray(int[] list) |
ToStringBuilder |
ToStringBuilder.appendArray(int[] list,
int offset,
int length) |
ToStringBuilder |
ToStringBuilder.appendArray(long[] list) |
ToStringBuilder |
ToStringBuilder.appendArray(long[] list,
int offset,
int length) |
ToStringBuilder |
ToStringBuilder.appendArray(Object[] list) |
ToStringBuilder |
ToStringBuilder.appendArray(short[] list) |
ToStringBuilder |
ToStringBuilder.appendArray(short[] list,
int offset,
int length) |
ToStringBuilder |
ToStringBuilder.appendCollection(Collection<?> list) |
ToStringBuilder |
ToStringBuilder.appendCollection(Collection<?> list,
boolean oneLine) |
ToStringBuilder |
ToStringBuilder.appendDescription(Object value) |
ToStringBuilder |
ToStringBuilder.appendHangingIndent(Object value) |
ToStringBuilder |
ToStringBuilder.appendMap(Map<?,?> map) |
ToStringBuilder |
ToStringBuilder.appendMap(Map<?,?> map,
boolean sort) |
ToStringBuilder |
ToStringBuilder.appendNull() |
ToStringBuilder |
ToStringBuilder.StructureBuilder.appendTo(ToStringBuilder toStringBuilder) |
ToStringBuilder |
ToStringBuilder.MapBuilder.appendTo(ToStringBuilder toStringBuilder) |
ToStringBuilder |
ToStringBuilder.CollectionBuilder.appendTo(ToStringBuilder toStringBuilder) |
ToStringBuilder |
ToStringBuilder.end()
结束一级缩进。注意,输出结果之前,须至少调用一次end(),以确保最后的换行可以被输出。
|
ToStringBuilder |
ToStringBuilder.format(String format,
Object... args) |
ToStringBuilder |
ToStringBuilder.setPrintDescription(boolean printDescription)
打印数组时,是否打印出描述。
|
ToStringBuilder |
ToStringBuilder.start()
创建一级缩进。
|
ToStringBuilder |
ToStringBuilder.start(String beginQuote,
String endQuote)
创建一级缩进。
|
Modifier and Type | Method and Description |
---|---|
ToStringBuilder |
ToStringBuilder.StructureBuilder.appendTo(ToStringBuilder toStringBuilder) |
ToStringBuilder |
ToStringBuilder.MapBuilder.appendTo(ToStringBuilder toStringBuilder) |
ToStringBuilder |
ToStringBuilder.CollectionBuilder.appendTo(ToStringBuilder toStringBuilder) |
Copyright © 2006–2018 TinyGroup. All rights reserved.