public final class SmartStringBuilder
extends java.lang.Object
implements java.lang.Appendable, java.lang.CharSequence, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SmartStringBuilder.Options |
static class |
SmartStringBuilder.ValueOptions |
Constructor and Description |
---|
SmartStringBuilder() |
SmartStringBuilder(java.lang.CharSequence sequence) |
SmartStringBuilder(int capacity) |
SmartStringBuilder(SmartStringBuilder.Options options) |
SmartStringBuilder(java.lang.String string) |
Modifier and Type | Method and Description |
---|---|
SmartStringBuilder |
append(boolean b) |
SmartStringBuilder |
append(char c) |
SmartStringBuilder |
append(char[] s) |
SmartStringBuilder |
append(char[] s,
int offset,
int length) |
SmartStringBuilder |
append(java.lang.CharSequence s) |
SmartStringBuilder |
append(java.lang.CharSequence s,
int from,
int to) |
SmartStringBuilder |
append(double d) |
SmartStringBuilder |
append(float f) |
SmartStringBuilder |
append(int i) |
SmartStringBuilder |
append(long l) |
SmartStringBuilder |
append(java.lang.Object o) |
SmartStringBuilder |
append(java.lang.String s) |
SmartStringBuilder |
appendCodePoint(int value) |
SmartStringBuilder |
appendln() |
SmartStringBuilder |
appendln(boolean b) |
SmartStringBuilder |
appendln(char c) |
SmartStringBuilder |
appendln(char[] s) |
SmartStringBuilder |
appendln(char[] s,
int offset,
int length) |
SmartStringBuilder |
appendln(java.lang.CharSequence s) |
SmartStringBuilder |
appendln(java.lang.CharSequence s,
int from,
int to) |
SmartStringBuilder |
appendln(double d) |
SmartStringBuilder |
appendln(float f) |
SmartStringBuilder |
appendln(int i) |
SmartStringBuilder |
appendln(long l) |
SmartStringBuilder |
appendln(java.lang.Object o) |
SmartStringBuilder |
appendln(java.lang.String s) |
<A extends java.lang.Appendable> |
appendSafelyTo(A appendable) |
<A extends java.lang.Appendable> |
appendTo(A appendable) |
java.nio.CharBuffer |
appendTo(java.nio.CharBuffer writer) |
java.io.PrintStream |
appendTo(java.io.PrintStream stream) |
java.lang.StringBuffer |
appendTo(java.lang.StringBuffer buffer) |
java.lang.StringBuilder |
appendTo(java.lang.StringBuilder builder) |
SmartStringBuilder |
bin(byte... bytes) |
SmartStringBuilder |
bin(java.lang.String separator,
byte... bytes) |
SmartStringBuilder |
bin128(byte a,
byte b,
byte c,
byte d,
byte e,
byte f,
byte g,
byte h,
byte i,
byte j,
byte k,
byte l,
byte m,
byte n,
byte o,
byte p) |
SmartStringBuilder |
bin128(int a,
int b,
int c,
int d) |
SmartStringBuilder |
bin128(long a,
long b) |
SmartStringBuilder |
bin128(short a,
short b,
short c,
short d,
short e,
short f,
short g,
short h) |
SmartStringBuilder |
bin16(byte a,
byte b) |
SmartStringBuilder |
bin16(int a,
int shift) |
SmartStringBuilder |
bin16(long a,
int shift) |
SmartStringBuilder |
bin16(short a) |
SmartStringBuilder |
bin32(byte a,
byte b,
byte c,
byte d) |
SmartStringBuilder |
bin32(int a) |
SmartStringBuilder |
bin32(long a,
int shift) |
SmartStringBuilder |
bin32(short a,
short b) |
SmartStringBuilder |
bin48(byte a,
byte b,
byte c,
byte d,
byte e,
byte f) |
SmartStringBuilder |
bin48(short a,
short b,
short c) |
SmartStringBuilder |
bin64(byte a,
byte b,
byte c,
byte d,
byte e,
byte f,
byte g,
byte h) |
SmartStringBuilder |
bin64(int a,
int b) |
SmartStringBuilder |
bin64(long a) |
SmartStringBuilder |
bin64(short a,
short b,
short c,
short d) |
SmartStringBuilder |
bin8(byte a) |
SmartStringBuilder |
bin8(int a,
int shift) |
SmartStringBuilder |
bin8(long a,
int shift) |
SmartStringBuilder |
bin8(short a,
int shift) |
SmartStringBuilder |
bin96(byte a,
byte b,
byte c,
byte d,
byte e,
byte f,
byte g,
byte h,
byte i,
byte j,
byte k,
byte l) |
SmartStringBuilder |
bin96(int a,
int b,
int c) |
SmartStringBuilder |
bin96(short a,
short b,
short c,
short d,
short e,
short f) |
SmartStringBuilder |
bits(long value) |
SmartStringBuilder |
bits(long value,
int precision) |
static SmartStringBuilder |
builder() |
static SmartStringBuilder |
builder(java.lang.CharSequence sequence) |
static SmartStringBuilder |
builder(int capacity) |
static SmartStringBuilder |
builder(SmartStringBuilder.Options options) |
static SmartStringBuilder |
builder(java.lang.String string) |
SmartStringBuilder |
bytes(long value) |
SmartStringBuilder |
bytes(long value,
int precision) |
int |
capacity() |
char |
charAt(int index) |
int |
codePointAt(int index) |
int |
codePointBefore(int index) |
int |
codePointCount(int from,
int to) |
SmartStringBuilder |
delete(int from,
int to) |
SmartStringBuilder |
deleteCharAt(int index) |
void |
ensureCapacity(int minimum) |
<T> SmartStringBuilder |
filteredList(java.lang.Iterable<T> values,
com.google.common.base.Predicate<? super T> filter) |
<T> SmartStringBuilder |
filteredList(java.util.Iterator<T> values,
com.google.common.base.Predicate<? super T> filter) |
<T> SmartStringBuilder |
filteredList(com.google.common.base.Predicate<? super T> filter,
T first,
T second,
T... rest) |
<T> SmartStringBuilder |
filteredList(T[] values,
com.google.common.base.Predicate<? super T> filter) |
java.lang.String |
flush() |
SmartStringBuilder |
format(com.google.common.base.CaseFormat from,
com.google.common.base.CaseFormat to,
java.lang.CharSequence value) |
SmartStringBuilder |
format(com.google.common.base.CaseFormat from,
com.google.common.base.CaseFormat to,
java.lang.Object value) |
SmartStringBuilder |
format(com.google.common.base.CaseFormat from,
com.google.common.base.CaseFormat to,
java.lang.String value) |
SmartStringBuilder |
format(java.text.DateFormat format,
java.util.Date value) |
SmartStringBuilder |
format(java.text.DateFormat format,
java.util.Date value,
java.text.FieldPosition position) |
SmartStringBuilder |
format(java.text.Format format,
java.lang.Object value) |
SmartStringBuilder |
format(java.text.Format format,
java.lang.Object value,
java.text.FieldPosition position) |
SmartStringBuilder |
format(java.text.MessageFormat format,
java.lang.Iterable<java.lang.Object> args) |
SmartStringBuilder |
format(java.text.MessageFormat format,
java.lang.Iterable<java.lang.Object> args,
java.text.FieldPosition position) |
SmartStringBuilder |
format(java.text.MessageFormat format,
java.util.Iterator<java.lang.Object> args) |
SmartStringBuilder |
format(java.text.MessageFormat format,
java.util.Iterator<java.lang.Object> args,
java.text.FieldPosition position) |
SmartStringBuilder |
format(java.text.MessageFormat format,
java.lang.Object[] args) |
SmartStringBuilder |
format(java.text.MessageFormat format,
java.lang.Object[] args,
java.text.FieldPosition position) |
SmartStringBuilder |
format(java.text.NumberFormat format,
double value) |
SmartStringBuilder |
format(java.text.NumberFormat format,
double value,
java.text.FieldPosition position) |
SmartStringBuilder |
format(java.text.NumberFormat format,
long value) |
SmartStringBuilder |
format(java.text.NumberFormat format,
long value,
java.text.FieldPosition position) |
SmartStringBuilder |
format(java.lang.String format,
java.lang.Iterable<java.lang.Object> args) |
SmartStringBuilder |
format(java.lang.String format,
java.util.Iterator<java.lang.Object> args) |
SmartStringBuilder |
format(java.lang.String format,
java.lang.Object... args) |
void |
getChars(int from,
int to,
char[] result,
int offset) |
SmartStringBuilder |
hex(byte... bytes) |
SmartStringBuilder |
hex(java.lang.String separator,
byte... bytes) |
SmartStringBuilder |
hex128(byte a,
byte b,
byte c,
byte d,
byte e,
byte f,
byte g,
byte h,
byte i,
byte j,
byte k,
byte l,
byte m,
byte n,
byte o,
byte p) |
SmartStringBuilder |
hex128(int a,
int b,
int c,
int d) |
SmartStringBuilder |
hex128(long a,
long b) |
SmartStringBuilder |
hex128(short a,
short b,
short c,
short d,
short e,
short f,
short g,
short h) |
SmartStringBuilder |
hex16(byte a,
byte b) |
SmartStringBuilder |
hex16(int a,
int shift) |
SmartStringBuilder |
hex16(long a,
int shift) |
SmartStringBuilder |
hex16(short a) |
SmartStringBuilder |
hex32(byte a,
byte b,
byte c,
byte d) |
SmartStringBuilder |
hex32(int a) |
SmartStringBuilder |
hex32(long a,
int shift) |
SmartStringBuilder |
hex32(short a,
short b) |
SmartStringBuilder |
hex48(byte a,
byte b,
byte c,
byte d,
byte e,
byte f) |
SmartStringBuilder |
hex48(short a,
short b,
short c) |
SmartStringBuilder |
hex64(byte a,
byte b,
byte c,
byte d,
byte e,
byte f,
byte g,
byte h) |
SmartStringBuilder |
hex64(int a,
int b) |
SmartStringBuilder |
hex64(long a) |
SmartStringBuilder |
hex64(short a,
short b,
short c,
short d) |
SmartStringBuilder |
hex8(byte a) |
SmartStringBuilder |
hex8(int a,
int shift) |
SmartStringBuilder |
hex8(long a,
int shift) |
SmartStringBuilder |
hex8(short a,
int shift) |
SmartStringBuilder |
hex96(byte a,
byte b,
byte c,
byte d,
byte e,
byte f,
byte g,
byte h,
byte i,
byte j,
byte k,
byte l) |
SmartStringBuilder |
hex96(int a,
int b,
int c) |
SmartStringBuilder |
hex96(short a,
short b,
short c,
short d,
short e,
short f) |
int |
indent() |
SmartStringBuilder |
indent(int value) |
int |
indexOf(java.lang.String s) |
int |
indexOf(java.lang.String s,
int from) |
SmartStringBuilder |
insert(int offset,
boolean b) |
SmartStringBuilder |
insert(int offset,
char c) |
SmartStringBuilder |
insert(int offset,
char[] s) |
SmartStringBuilder |
insert(int index,
char[] s,
int offset,
int length) |
SmartStringBuilder |
insert(int offset,
java.lang.CharSequence s) |
SmartStringBuilder |
insert(int offset,
java.lang.CharSequence s,
int from,
int to) |
SmartStringBuilder |
insert(int offset,
double d) |
SmartStringBuilder |
insert(int offset,
float f) |
SmartStringBuilder |
insert(int offset,
int i) |
SmartStringBuilder |
insert(int offset,
long l) |
SmartStringBuilder |
insert(int offset,
java.lang.Object o) |
SmartStringBuilder |
insert(int offset,
java.lang.String s) |
boolean |
isEmpty() |
boolean |
isNewLine() |
int |
lastIndexOf(java.lang.String s) |
int |
lastIndexOf(java.lang.String s,
int from) |
int |
length() |
SmartStringBuilder |
lines(java.lang.CharSequence s) |
SmartStringBuilder |
lines(java.lang.Object o) |
SmartStringBuilder |
lines(java.lang.String s) |
SmartStringBuilder |
list(java.lang.Iterable<?> values) |
SmartStringBuilder |
list(java.lang.Iterable<?> values,
com.google.common.base.Joiner joiner) |
SmartStringBuilder |
list(java.lang.Iterable<?> values,
java.lang.String separator) |
SmartStringBuilder |
list(java.lang.Iterable<? extends java.util.Map.Entry<?,?>> values,
com.google.common.base.Joiner.MapJoiner joiner) |
SmartStringBuilder |
list(java.lang.Iterable<? extends java.util.Map.Entry<?,?>> values,
java.lang.String listSeparator,
java.lang.String entrySeparator) |
SmartStringBuilder |
list(java.util.Iterator<?> values) |
SmartStringBuilder |
list(java.util.Iterator<?> values,
com.google.common.base.Joiner joiner) |
SmartStringBuilder |
list(java.util.Iterator<?> values,
java.lang.String separator) |
SmartStringBuilder |
list(java.util.Iterator<? extends java.util.Map.Entry<?,?>> values,
com.google.common.base.Joiner.MapJoiner joiner) |
SmartStringBuilder |
list(java.util.Iterator<? extends java.util.Map.Entry<?,?>> values,
java.lang.String listSeparator,
java.lang.String entrySeparator) |
SmartStringBuilder |
list(com.google.common.base.Joiner joiner,
java.lang.Object first,
java.lang.Object second,
java.lang.Object... rest) |
SmartStringBuilder |
list(java.util.Map<?,?> values,
com.google.common.base.Joiner.MapJoiner joiner) |
SmartStringBuilder |
list(java.util.Map<?,?> values,
java.lang.String listSeparator,
java.lang.String entrySeparator) |
SmartStringBuilder |
list(java.lang.Object[] values) |
SmartStringBuilder |
list(java.lang.Object[] values,
com.google.common.base.Joiner joiner) |
SmartStringBuilder |
list(java.lang.Object[] values,
java.lang.String separator) |
SmartStringBuilder |
list(java.lang.Object first,
java.lang.Object second,
java.lang.Object... rest) |
SmartStringBuilder |
list(java.util.Properties values,
com.google.common.base.Joiner.MapJoiner joiner) |
SmartStringBuilder |
list(java.util.Properties values,
java.lang.String listSeparator,
java.lang.String entrySeparator) |
SmartStringBuilder |
listNonEmpty(java.lang.CharSequence[] values) |
SmartStringBuilder |
listNonEmpty(java.lang.CharSequence first,
java.lang.CharSequence second,
java.lang.CharSequence... rest) |
SmartStringBuilder |
listNonEmpty(java.lang.Iterable<? extends java.lang.CharSequence> values) |
SmartStringBuilder |
listNonEmpty(java.util.Iterator<? extends java.lang.CharSequence> values) |
SmartStringBuilder |
listNonNull(java.lang.Iterable<?> values) |
SmartStringBuilder |
listNonNull(java.util.Iterator<?> values) |
SmartStringBuilder |
listNonNull(java.lang.Object[] values) |
SmartStringBuilder |
listNonNull(java.lang.Object first,
java.lang.Object second,
java.lang.Object... rest) |
SmartStringBuilder |
listValues(boolean... values) |
SmartStringBuilder |
listValues(char... values) |
SmartStringBuilder |
listValues(double... values) |
SmartStringBuilder |
listValues(float... values) |
SmartStringBuilder |
listValues(int... values) |
SmartStringBuilder |
listValues(com.google.common.base.Joiner joiner,
boolean... values) |
SmartStringBuilder |
listValues(com.google.common.base.Joiner joiner,
char... values) |
SmartStringBuilder |
listValues(com.google.common.base.Joiner joiner,
double... values) |
SmartStringBuilder |
listValues(com.google.common.base.Joiner joiner,
float... values) |
SmartStringBuilder |
listValues(com.google.common.base.Joiner joiner,
int... values) |
SmartStringBuilder |
listValues(com.google.common.base.Joiner joiner,
long... values) |
SmartStringBuilder |
listValues(long... values) |
SmartStringBuilder |
listValues(java.lang.String separator,
boolean... values) |
SmartStringBuilder |
listValues(java.lang.String separator,
char... values) |
SmartStringBuilder |
listValues(java.lang.String separator,
double... values) |
SmartStringBuilder |
listValues(java.lang.String separator,
float... values) |
SmartStringBuilder |
listValues(java.lang.String separator,
int... values) |
SmartStringBuilder |
listValues(java.lang.String separator,
long... values) |
int |
offsetByCodePoints(int index,
int offset) |
SmartStringBuilder.Options |
options() |
SmartStringBuilder |
prepend(boolean b) |
SmartStringBuilder |
prepend(char c) |
SmartStringBuilder |
prepend(char[] s) |
SmartStringBuilder |
prepend(char[] s,
int offset,
int length) |
SmartStringBuilder |
prepend(java.lang.CharSequence s) |
SmartStringBuilder |
prepend(java.lang.CharSequence s,
int from,
int to) |
SmartStringBuilder |
prepend(double d) |
SmartStringBuilder |
prepend(float f) |
SmartStringBuilder |
prepend(int i) |
SmartStringBuilder |
prepend(long l) |
SmartStringBuilder |
prepend(java.lang.Object o) |
SmartStringBuilder |
prepend(java.lang.String s) |
SmartStringBuilder |
prependln() |
SmartStringBuilder |
prependln(boolean b) |
SmartStringBuilder |
prependln(char c) |
SmartStringBuilder |
prependln(char[] s) |
SmartStringBuilder |
prependln(char[] s,
int offset,
int length) |
SmartStringBuilder |
prependln(java.lang.CharSequence s) |
SmartStringBuilder |
prependln(java.lang.CharSequence s,
int from,
int to) |
SmartStringBuilder |
prependln(double d) |
SmartStringBuilder |
prependln(float f) |
SmartStringBuilder |
prependln(int i) |
SmartStringBuilder |
prependln(long l) |
SmartStringBuilder |
prependln(java.lang.Object o) |
SmartStringBuilder |
prependln(java.lang.String s) |
SmartStringBuilder |
repeat(int n,
boolean b) |
SmartStringBuilder |
repeat(int n,
char c) |
SmartStringBuilder |
repeat(int n,
java.lang.CharSequence s) |
SmartStringBuilder |
repeat(int n,
java.lang.CharSequence s,
int from,
int to) |
SmartStringBuilder |
repeat(int n,
double d) |
SmartStringBuilder |
repeat(int n,
float f) |
SmartStringBuilder |
repeat(int n,
int i) |
SmartStringBuilder |
repeat(int n,
long l) |
SmartStringBuilder |
repeat(int n,
java.lang.Object o) |
SmartStringBuilder |
repeat(int n,
java.lang.String s) |
SmartStringBuilder |
repeat(int n,
java.lang.String format,
java.lang.Object... args) |
SmartStringBuilder |
replace(int from,
int to,
java.lang.String s) |
SmartStringBuilder |
replace(java.lang.String source,
boolean replacement) |
SmartStringBuilder |
replace(java.lang.String source,
char replacement) |
SmartStringBuilder |
replace(java.lang.String source,
java.lang.CharSequence replacement) |
SmartStringBuilder |
replace(java.lang.String source,
double replacement) |
SmartStringBuilder |
replace(java.lang.String source,
float replacement) |
SmartStringBuilder |
replace(java.lang.String source,
int replacement) |
SmartStringBuilder |
replace(java.lang.String source,
long replacement) |
SmartStringBuilder |
replace(java.lang.String source,
java.lang.Object replacement) |
SmartStringBuilder |
replace(java.lang.String source,
java.lang.String replacement) |
void |
replaceAt(int index,
int length,
java.lang.String replacement) |
SmartStringBuilder |
replaceFirst(java.lang.String source,
boolean replacement) |
SmartStringBuilder |
replaceFirst(java.lang.String source,
char replacement) |
SmartStringBuilder |
replaceFirst(java.lang.String source,
java.lang.CharSequence replacement) |
SmartStringBuilder |
replaceFirst(java.lang.String source,
double replacement) |
SmartStringBuilder |
replaceFirst(java.lang.String source,
float replacement) |
SmartStringBuilder |
replaceFirst(java.lang.String source,
int replacement) |
SmartStringBuilder |
replaceFirst(java.lang.String source,
long replacement) |
SmartStringBuilder |
replaceFirst(java.lang.String source,
java.lang.Object replacement) |
SmartStringBuilder |
replaceFirst(java.lang.String source,
java.lang.String replacement) |
SmartStringBuilder |
replaceLast(java.lang.String source,
boolean replacement) |
SmartStringBuilder |
replaceLast(java.lang.String source,
char replacement) |
SmartStringBuilder |
replaceLast(java.lang.String source,
java.lang.CharSequence replacement) |
SmartStringBuilder |
replaceLast(java.lang.String source,
double replacement) |
SmartStringBuilder |
replaceLast(java.lang.String source,
float replacement) |
SmartStringBuilder |
replaceLast(java.lang.String source,
int replacement) |
SmartStringBuilder |
replaceLast(java.lang.String source,
long replacement) |
SmartStringBuilder |
replaceLast(java.lang.String source,
java.lang.Object replacement) |
SmartStringBuilder |
replaceLast(java.lang.String source,
java.lang.String replacement) |
SmartStringBuilder |
reverse() |
void |
setCharAt(int index,
char c) |
void |
setIndent(int value) |
void |
setLength(int value) |
void |
setNewLine(boolean value) |
SmartStringBuilder |
signed(byte i) |
SmartStringBuilder |
signed(byte i,
int radix) |
SmartStringBuilder |
signed(int i) |
SmartStringBuilder |
signed(int i,
int radix) |
SmartStringBuilder |
signed(long i) |
SmartStringBuilder |
signed(long i,
int radix) |
SmartStringBuilder |
signed(short i) |
SmartStringBuilder |
signed(short i,
int radix) |
<T> SmartStringBuilder |
sortedList(java.util.Comparator<? super T> comparator,
T first,
T second,
T... rest) |
<T extends java.lang.Comparable<? super T>> |
sortedList(java.lang.Iterable<T> values) |
<T> SmartStringBuilder |
sortedList(java.lang.Iterable<T> values,
java.util.Comparator<? super T> comparator) |
<T extends java.lang.Comparable<? super T>> |
sortedList(java.util.Iterator<T> values) |
<T> SmartStringBuilder |
sortedList(java.util.Iterator<T> values,
java.util.Comparator<? super T> comparator) |
<T extends java.lang.Comparable<? super T>> |
sortedList(T[] values) |
<T> SmartStringBuilder |
sortedList(T[] values,
java.util.Comparator<? super T> comparator) |
<T extends java.lang.Comparable<? super T>> |
sortedList(T first,
T second,
T... rest) |
SmartStringBuilder |
splitList(java.lang.CharSequence value,
com.google.common.base.Splitter.MapSplitter splitter,
com.google.common.base.Joiner.MapJoiner joiner) |
SmartStringBuilder |
splitList(java.lang.CharSequence value,
com.google.common.base.Splitter splitter,
com.google.common.base.Joiner joiner) |
SmartStringBuilder |
splitList(java.lang.Object value,
com.google.common.base.Splitter.MapSplitter splitter,
com.google.common.base.Joiner.MapJoiner joiner) |
SmartStringBuilder |
splitList(java.lang.Object value,
com.google.common.base.Splitter splitter,
com.google.common.base.Joiner joiner) |
SmartStringBuilder |
splitList(java.lang.String value,
com.google.common.base.Splitter.MapSplitter splitter,
com.google.common.base.Joiner.MapJoiner joiner) |
SmartStringBuilder |
splitList(java.lang.String value,
com.google.common.base.Splitter splitter,
com.google.common.base.Joiner joiner) |
java.lang.CharSequence |
subSequence(int from,
int to) |
java.lang.String |
substring(int offset) |
java.lang.String |
substring(int from,
int to) |
SmartStringBuilder |
tab() |
SmartStringBuilder |
tab(int k) |
java.lang.String |
toString() |
java.lang.StringBuilder |
toStringBuilder() |
void |
trimToSize() |
SmartStringBuilder |
truncate() |
static SmartStringBuilder.ValueOptions |
units(java.lang.Iterable<?> units) |
static SmartStringBuilder.ValueOptions |
units(java.lang.Object... units) |
SmartStringBuilder |
unsigned(byte i) |
SmartStringBuilder |
unsigned(byte i,
int radix) |
SmartStringBuilder |
unsigned(int i) |
SmartStringBuilder |
unsigned(int i,
int radix) |
SmartStringBuilder |
unsigned(long i) |
SmartStringBuilder |
unsigned(long i,
int radix) |
SmartStringBuilder |
unsigned(short i) |
SmartStringBuilder |
unsigned(short i,
int radix) |
SmartStringBuilder |
untab() |
SmartStringBuilder |
untab(int k) |
<U> SmartStringBuilder |
value(long value,
int base,
java.lang.Iterable<U> units) |
SmartStringBuilder |
value(long value,
int base,
java.lang.Object... units) |
SmartStringBuilder |
value(long value,
SmartStringBuilder.ValueOptions options) |
public SmartStringBuilder()
public SmartStringBuilder(int capacity)
public SmartStringBuilder(@Nullable java.lang.CharSequence sequence)
public SmartStringBuilder(@Nullable java.lang.String string)
public SmartStringBuilder(SmartStringBuilder.Options options)
public static SmartStringBuilder builder()
public static SmartStringBuilder builder(int capacity)
public static SmartStringBuilder builder(@Nullable java.lang.CharSequence sequence)
public static SmartStringBuilder builder(@Nullable java.lang.String string)
public static SmartStringBuilder builder(SmartStringBuilder.Options options)
public SmartStringBuilder.Options options()
public void ensureCapacity(int minimum)
public int capacity()
public int length()
length
in interface java.lang.CharSequence
public int indent()
public SmartStringBuilder indent(int value)
public char charAt(int index)
charAt
in interface java.lang.CharSequence
public int codePointAt(int index)
public int codePointBefore(int index)
public int codePointCount(int from, int to)
public SmartStringBuilder appendCodePoint(int value)
public int offsetByCodePoints(int index, int offset)
public int indexOf(java.lang.String s)
public int indexOf(java.lang.String s, int from)
public int lastIndexOf(java.lang.String s)
public int lastIndexOf(java.lang.String s, int from)
public java.lang.CharSequence subSequence(int from, int to)
subSequence
in interface java.lang.CharSequence
public java.lang.String substring(int offset)
public java.lang.String substring(int from, int to)
public SmartStringBuilder reverse()
public void trimToSize()
public SmartStringBuilder truncate()
public java.lang.String flush()
public void setLength(int value)
public void setIndent(int value)
public void setNewLine(boolean value)
public void setCharAt(int index, char c)
public void getChars(int from, int to, char[] result, int offset)
public boolean isEmpty()
public boolean isNewLine()
public SmartStringBuilder tab()
public SmartStringBuilder tab(int k)
public SmartStringBuilder untab()
public SmartStringBuilder untab(int k)
public java.lang.String toString()
toString
in interface java.lang.CharSequence
toString
in class java.lang.Object
public java.lang.StringBuilder toStringBuilder()
public SmartStringBuilder append(@Nullable java.lang.Object o)
public SmartStringBuilder append(@Nullable java.lang.String s)
public SmartStringBuilder append(@Nullable java.lang.CharSequence s)
append
in interface java.lang.Appendable
public SmartStringBuilder append(@Nullable java.lang.CharSequence s, int from, int to)
append
in interface java.lang.Appendable
public SmartStringBuilder append(boolean b)
public SmartStringBuilder append(char c)
append
in interface java.lang.Appendable
public SmartStringBuilder append(char[] s)
public SmartStringBuilder append(char[] s, int offset, int length)
public SmartStringBuilder append(int i)
public SmartStringBuilder append(long l)
public SmartStringBuilder append(float f)
public SmartStringBuilder append(double d)
public SmartStringBuilder appendln()
public SmartStringBuilder appendln(@Nullable java.lang.Object o)
public SmartStringBuilder appendln(@Nullable java.lang.String s)
public SmartStringBuilder appendln(@Nullable java.lang.CharSequence s)
public SmartStringBuilder appendln(@Nullable java.lang.CharSequence s, int from, int to)
public SmartStringBuilder appendln(boolean b)
public SmartStringBuilder appendln(char c)
public SmartStringBuilder appendln(char[] s)
public SmartStringBuilder appendln(char[] s, int offset, int length)
public SmartStringBuilder appendln(int i)
public SmartStringBuilder appendln(long l)
public SmartStringBuilder appendln(float f)
public SmartStringBuilder appendln(double d)
public <A extends java.lang.Appendable> A appendTo(A appendable)
public java.nio.CharBuffer appendTo(java.nio.CharBuffer writer)
public java.lang.StringBuffer appendTo(java.lang.StringBuffer buffer)
public java.lang.StringBuilder appendTo(java.lang.StringBuilder builder)
public java.io.PrintStream appendTo(java.io.PrintStream stream)
public <A extends java.lang.Appendable> A appendSafelyTo(A appendable) throws java.io.IOException
java.io.IOException
public SmartStringBuilder prepend(@Nullable java.lang.Object o)
public SmartStringBuilder prepend(@Nullable java.lang.String s)
public SmartStringBuilder prepend(@Nullable java.lang.CharSequence s)
public SmartStringBuilder prepend(@Nullable java.lang.CharSequence s, int from, int to)
public SmartStringBuilder prepend(boolean b)
public SmartStringBuilder prepend(char c)
public SmartStringBuilder prepend(char[] s)
public SmartStringBuilder prepend(char[] s, int offset, int length)
public SmartStringBuilder prepend(int i)
public SmartStringBuilder prepend(long l)
public SmartStringBuilder prepend(float f)
public SmartStringBuilder prepend(double d)
public SmartStringBuilder prependln()
public SmartStringBuilder prependln(@Nullable java.lang.Object o)
public SmartStringBuilder prependln(@Nullable java.lang.String s)
public SmartStringBuilder prependln(@Nullable java.lang.CharSequence s)
public SmartStringBuilder prependln(@Nullable java.lang.CharSequence s, int from, int to)
public SmartStringBuilder prependln(boolean b)
public SmartStringBuilder prependln(char c)
public SmartStringBuilder prependln(char[] s)
public SmartStringBuilder prependln(char[] s, int offset, int length)
public SmartStringBuilder prependln(int i)
public SmartStringBuilder prependln(long l)
public SmartStringBuilder prependln(float f)
public SmartStringBuilder prependln(double d)
public SmartStringBuilder delete(int from, int to)
public SmartStringBuilder deleteCharAt(int index)
public SmartStringBuilder insert(int offset, @Nullable java.lang.Object o)
public SmartStringBuilder insert(int offset, @Nullable java.lang.String s)
public SmartStringBuilder insert(int offset, @Nullable java.lang.CharSequence s)
public SmartStringBuilder insert(int offset, @Nullable java.lang.CharSequence s, int from, int to)
public SmartStringBuilder insert(int offset, boolean b)
public SmartStringBuilder insert(int offset, char c)
public SmartStringBuilder insert(int offset, char[] s)
public SmartStringBuilder insert(int index, char[] s, int offset, int length)
public SmartStringBuilder insert(int offset, int i)
public SmartStringBuilder insert(int offset, long l)
public SmartStringBuilder insert(int offset, float f)
public SmartStringBuilder insert(int offset, double d)
public SmartStringBuilder replace(int from, int to, @Nullable java.lang.String s)
public void replaceAt(int index, int length, @Nullable java.lang.String replacement)
public SmartStringBuilder replace(java.lang.String source, @Nullable java.lang.Object replacement)
public SmartStringBuilder replace(java.lang.String source, @Nullable java.lang.String replacement)
public SmartStringBuilder replace(java.lang.String source, @Nullable java.lang.CharSequence replacement)
public SmartStringBuilder replace(java.lang.String source, boolean replacement)
public SmartStringBuilder replace(java.lang.String source, char replacement)
public SmartStringBuilder replace(java.lang.String source, int replacement)
public SmartStringBuilder replace(java.lang.String source, long replacement)
public SmartStringBuilder replace(java.lang.String source, float replacement)
public SmartStringBuilder replace(java.lang.String source, double replacement)
public SmartStringBuilder replaceFirst(java.lang.String source, @Nullable java.lang.Object replacement)
public SmartStringBuilder replaceFirst(java.lang.String source, @Nullable java.lang.String replacement)
public SmartStringBuilder replaceFirst(java.lang.String source, @Nullable java.lang.CharSequence replacement)
public SmartStringBuilder replaceFirst(java.lang.String source, boolean replacement)
public SmartStringBuilder replaceFirst(java.lang.String source, char replacement)
public SmartStringBuilder replaceFirst(java.lang.String source, int replacement)
public SmartStringBuilder replaceFirst(java.lang.String source, long replacement)
public SmartStringBuilder replaceFirst(java.lang.String source, float replacement)
public SmartStringBuilder replaceFirst(java.lang.String source, double replacement)
public SmartStringBuilder replaceLast(java.lang.String source, @Nullable java.lang.Object replacement)
public SmartStringBuilder replaceLast(java.lang.String source, @Nullable java.lang.String replacement)
public SmartStringBuilder replaceLast(java.lang.String source, @Nullable java.lang.CharSequence replacement)
public SmartStringBuilder replaceLast(java.lang.String source, boolean replacement)
public SmartStringBuilder replaceLast(java.lang.String source, char replacement)
public SmartStringBuilder replaceLast(java.lang.String source, int replacement)
public SmartStringBuilder replaceLast(java.lang.String source, long replacement)
public SmartStringBuilder replaceLast(java.lang.String source, float replacement)
public SmartStringBuilder replaceLast(java.lang.String source, double replacement)
public SmartStringBuilder repeat(int n, @Nullable java.lang.Object o)
public SmartStringBuilder repeat(int n, @Nullable java.lang.String s)
public SmartStringBuilder repeat(int n, @Nullable java.lang.CharSequence s)
public SmartStringBuilder repeat(int n, @Nullable java.lang.CharSequence s, int from, int to)
public SmartStringBuilder repeat(int n, boolean b)
public SmartStringBuilder repeat(int n, char c)
public SmartStringBuilder repeat(int n, int i)
public SmartStringBuilder repeat(int n, long l)
public SmartStringBuilder repeat(int n, float f)
public SmartStringBuilder repeat(int n, double d)
public SmartStringBuilder repeat(int n, java.lang.String format, java.lang.Object... args)
public SmartStringBuilder format(java.lang.String format, java.lang.Object... args)
public SmartStringBuilder format(java.lang.String format, java.lang.Iterable<java.lang.Object> args)
public SmartStringBuilder format(java.lang.String format, java.util.Iterator<java.lang.Object> args)
public SmartStringBuilder format(java.text.Format format, @Nullable java.lang.Object value)
public SmartStringBuilder format(java.text.Format format, @Nullable java.lang.Object value, java.text.FieldPosition position)
public SmartStringBuilder format(com.google.common.base.CaseFormat from, com.google.common.base.CaseFormat to, java.lang.Object value)
public SmartStringBuilder format(com.google.common.base.CaseFormat from, com.google.common.base.CaseFormat to, java.lang.String value)
public SmartStringBuilder format(com.google.common.base.CaseFormat from, com.google.common.base.CaseFormat to, java.lang.CharSequence value)
public SmartStringBuilder format(java.text.DateFormat format, java.util.Date value)
public SmartStringBuilder format(java.text.DateFormat format, java.util.Date value, java.text.FieldPosition position)
public SmartStringBuilder format(java.text.MessageFormat format, java.lang.Object[] args)
public SmartStringBuilder format(java.text.MessageFormat format, java.lang.Object[] args, java.text.FieldPosition position)
public SmartStringBuilder format(java.text.MessageFormat format, java.lang.Iterable<java.lang.Object> args)
public SmartStringBuilder format(java.text.MessageFormat format, java.lang.Iterable<java.lang.Object> args, java.text.FieldPosition position)
public SmartStringBuilder format(java.text.MessageFormat format, java.util.Iterator<java.lang.Object> args)
public SmartStringBuilder format(java.text.MessageFormat format, java.util.Iterator<java.lang.Object> args, java.text.FieldPosition position)
public SmartStringBuilder format(java.text.NumberFormat format, long value)
public SmartStringBuilder format(java.text.NumberFormat format, long value, java.text.FieldPosition position)
public SmartStringBuilder format(java.text.NumberFormat format, double value)
public SmartStringBuilder format(java.text.NumberFormat format, double value, java.text.FieldPosition position)
public SmartStringBuilder list(@Nullable java.lang.Object first, @Nullable java.lang.Object second, java.lang.Object... rest)
public SmartStringBuilder list(java.lang.Object[] values)
public SmartStringBuilder list(java.lang.Iterable<?> values)
public SmartStringBuilder list(java.util.Iterator<?> values)
public SmartStringBuilder list(java.lang.Object[] values, java.lang.String separator)
public SmartStringBuilder list(java.lang.Iterable<?> values, java.lang.String separator)
public SmartStringBuilder list(java.util.Iterator<?> values, java.lang.String separator)
public SmartStringBuilder list(com.google.common.base.Joiner joiner, @Nullable java.lang.Object first, @Nullable java.lang.Object second, java.lang.Object... rest)
public SmartStringBuilder list(java.lang.Object[] values, com.google.common.base.Joiner joiner)
public SmartStringBuilder list(java.lang.Iterable<?> values, com.google.common.base.Joiner joiner)
public SmartStringBuilder list(java.util.Iterator<?> values, com.google.common.base.Joiner joiner)
public SmartStringBuilder list(java.util.Map<?,?> values, java.lang.String listSeparator, java.lang.String entrySeparator)
public SmartStringBuilder list(java.util.Properties values, java.lang.String listSeparator, java.lang.String entrySeparator)
public SmartStringBuilder list(java.lang.Iterable<? extends java.util.Map.Entry<?,?>> values, java.lang.String listSeparator, java.lang.String entrySeparator)
public SmartStringBuilder list(java.util.Iterator<? extends java.util.Map.Entry<?,?>> values, java.lang.String listSeparator, java.lang.String entrySeparator)
public SmartStringBuilder list(java.util.Map<?,?> values, com.google.common.base.Joiner.MapJoiner joiner)
public SmartStringBuilder list(java.util.Properties values, com.google.common.base.Joiner.MapJoiner joiner)
public SmartStringBuilder list(java.lang.Iterable<? extends java.util.Map.Entry<?,?>> values, com.google.common.base.Joiner.MapJoiner joiner)
public SmartStringBuilder list(java.util.Iterator<? extends java.util.Map.Entry<?,?>> values, com.google.common.base.Joiner.MapJoiner joiner)
public SmartStringBuilder listValues(boolean... values)
public SmartStringBuilder listValues(char... values)
public SmartStringBuilder listValues(int... values)
public SmartStringBuilder listValues(long... values)
public SmartStringBuilder listValues(float... values)
public SmartStringBuilder listValues(double... values)
public SmartStringBuilder listValues(java.lang.String separator, boolean... values)
public SmartStringBuilder listValues(java.lang.String separator, char... values)
public SmartStringBuilder listValues(java.lang.String separator, int... values)
public SmartStringBuilder listValues(java.lang.String separator, long... values)
public SmartStringBuilder listValues(java.lang.String separator, float... values)
public SmartStringBuilder listValues(java.lang.String separator, double... values)
public SmartStringBuilder listValues(com.google.common.base.Joiner joiner, boolean... values)
public SmartStringBuilder listValues(com.google.common.base.Joiner joiner, char... values)
public SmartStringBuilder listValues(com.google.common.base.Joiner joiner, int... values)
public SmartStringBuilder listValues(com.google.common.base.Joiner joiner, long... values)
public SmartStringBuilder listValues(com.google.common.base.Joiner joiner, float... values)
public SmartStringBuilder listValues(com.google.common.base.Joiner joiner, double... values)
public SmartStringBuilder listNonNull(java.lang.Object first, java.lang.Object second, java.lang.Object... rest)
public SmartStringBuilder listNonNull(java.lang.Object[] values)
public SmartStringBuilder listNonNull(java.lang.Iterable<?> values)
public SmartStringBuilder listNonNull(java.util.Iterator<?> values)
public SmartStringBuilder listNonEmpty(@Nullable java.lang.CharSequence first, @Nullable java.lang.CharSequence second, java.lang.CharSequence... rest)
public SmartStringBuilder listNonEmpty(java.lang.CharSequence[] values)
public SmartStringBuilder listNonEmpty(java.lang.Iterable<? extends java.lang.CharSequence> values)
public SmartStringBuilder listNonEmpty(java.util.Iterator<? extends java.lang.CharSequence> values)
@SafeVarargs public final <T> SmartStringBuilder filteredList(com.google.common.base.Predicate<? super T> filter, @Nullable T first, @Nullable T second, T... rest)
public final <T> SmartStringBuilder filteredList(T[] values, com.google.common.base.Predicate<? super T> filter)
public final <T> SmartStringBuilder filteredList(java.lang.Iterable<T> values, com.google.common.base.Predicate<? super T> filter)
public final <T> SmartStringBuilder filteredList(java.util.Iterator<T> values, com.google.common.base.Predicate<? super T> filter)
@SafeVarargs public final <T extends java.lang.Comparable<? super T>> SmartStringBuilder sortedList(@Nullable T first, @Nullable T second, T... rest)
public final <T extends java.lang.Comparable<? super T>> SmartStringBuilder sortedList(T[] values)
public final <T extends java.lang.Comparable<? super T>> SmartStringBuilder sortedList(java.lang.Iterable<T> values)
public final <T extends java.lang.Comparable<? super T>> SmartStringBuilder sortedList(java.util.Iterator<T> values)
@SafeVarargs public final <T> SmartStringBuilder sortedList(java.util.Comparator<? super T> comparator, @Nullable T first, @Nullable T second, T... rest)
public final <T> SmartStringBuilder sortedList(T[] values, java.util.Comparator<? super T> comparator)
public final <T> SmartStringBuilder sortedList(java.lang.Iterable<T> values, java.util.Comparator<? super T> comparator)
public final <T> SmartStringBuilder sortedList(java.util.Iterator<T> values, java.util.Comparator<? super T> comparator)
public SmartStringBuilder splitList(java.lang.Object value, com.google.common.base.Splitter splitter, com.google.common.base.Joiner joiner)
public SmartStringBuilder splitList(java.lang.String value, com.google.common.base.Splitter splitter, com.google.common.base.Joiner joiner)
public SmartStringBuilder splitList(java.lang.CharSequence value, com.google.common.base.Splitter splitter, com.google.common.base.Joiner joiner)
public SmartStringBuilder splitList(java.lang.Object value, com.google.common.base.Splitter.MapSplitter splitter, com.google.common.base.Joiner.MapJoiner joiner)
public SmartStringBuilder splitList(java.lang.String value, com.google.common.base.Splitter.MapSplitter splitter, com.google.common.base.Joiner.MapJoiner joiner)
public SmartStringBuilder splitList(java.lang.CharSequence value, com.google.common.base.Splitter.MapSplitter splitter, com.google.common.base.Joiner.MapJoiner joiner)
public SmartStringBuilder lines(@Nullable java.lang.Object o)
public SmartStringBuilder lines(@Nullable java.lang.String s)
public SmartStringBuilder lines(@Nullable java.lang.CharSequence s)
public SmartStringBuilder signed(byte i)
public SmartStringBuilder signed(byte i, int radix)
public SmartStringBuilder signed(short i)
public SmartStringBuilder signed(short i, int radix)
public SmartStringBuilder signed(int i)
public SmartStringBuilder signed(int i, int radix)
public SmartStringBuilder signed(long i)
public SmartStringBuilder signed(long i, int radix)
public SmartStringBuilder unsigned(byte i)
public SmartStringBuilder unsigned(byte i, int radix)
public SmartStringBuilder unsigned(short i)
public SmartStringBuilder unsigned(short i, int radix)
public SmartStringBuilder unsigned(int i)
public SmartStringBuilder unsigned(int i, int radix)
public SmartStringBuilder unsigned(long i)
public SmartStringBuilder unsigned(long i, int radix)
public SmartStringBuilder value(long value, int base, java.lang.Object... units)
public <U> SmartStringBuilder value(long value, int base, java.lang.Iterable<U> units)
public SmartStringBuilder value(long value, SmartStringBuilder.ValueOptions options)
public static SmartStringBuilder.ValueOptions units(java.lang.Object... units)
public static SmartStringBuilder.ValueOptions units(java.lang.Iterable<?> units)
public SmartStringBuilder bits(long value)
public SmartStringBuilder bits(long value, int precision)
public SmartStringBuilder bytes(long value)
public SmartStringBuilder bytes(long value, int precision)
public SmartStringBuilder bin(byte... bytes)
public SmartStringBuilder bin(java.lang.String separator, byte... bytes)
public SmartStringBuilder hex(byte... bytes)
public SmartStringBuilder hex(java.lang.String separator, byte... bytes)
public SmartStringBuilder bin8(byte a)
public SmartStringBuilder bin8(short a, int shift)
public SmartStringBuilder bin8(int a, int shift)
public SmartStringBuilder bin8(long a, int shift)
public SmartStringBuilder bin16(byte a, byte b)
public SmartStringBuilder bin16(short a)
public SmartStringBuilder bin16(int a, int shift)
public SmartStringBuilder bin16(long a, int shift)
public SmartStringBuilder bin32(byte a, byte b, byte c, byte d)
public SmartStringBuilder bin32(short a, short b)
public SmartStringBuilder bin32(int a)
public SmartStringBuilder bin32(long a, int shift)
public SmartStringBuilder bin48(byte a, byte b, byte c, byte d, byte e, byte f)
public SmartStringBuilder bin48(short a, short b, short c)
public SmartStringBuilder bin64(byte a, byte b, byte c, byte d, byte e, byte f, byte g, byte h)
public SmartStringBuilder bin64(short a, short b, short c, short d)
public SmartStringBuilder bin64(int a, int b)
public SmartStringBuilder bin64(long a)
public SmartStringBuilder bin96(byte a, byte b, byte c, byte d, byte e, byte f, byte g, byte h, byte i, byte j, byte k, byte l)
public SmartStringBuilder bin96(short a, short b, short c, short d, short e, short f)
public SmartStringBuilder bin96(int a, int b, int c)
public SmartStringBuilder bin128(byte a, byte b, byte c, byte d, byte e, byte f, byte g, byte h, byte i, byte j, byte k, byte l, byte m, byte n, byte o, byte p)
public SmartStringBuilder bin128(short a, short b, short c, short d, short e, short f, short g, short h)
public SmartStringBuilder bin128(int a, int b, int c, int d)
public SmartStringBuilder bin128(long a, long b)
public SmartStringBuilder hex8(byte a)
public SmartStringBuilder hex8(short a, int shift)
public SmartStringBuilder hex8(int a, int shift)
public SmartStringBuilder hex8(long a, int shift)
public SmartStringBuilder hex16(byte a, byte b)
public SmartStringBuilder hex16(short a)
public SmartStringBuilder hex16(int a, int shift)
public SmartStringBuilder hex16(long a, int shift)
public SmartStringBuilder hex32(byte a, byte b, byte c, byte d)
public SmartStringBuilder hex32(short a, short b)
public SmartStringBuilder hex32(int a)
public SmartStringBuilder hex32(long a, int shift)
public SmartStringBuilder hex48(byte a, byte b, byte c, byte d, byte e, byte f)
public SmartStringBuilder hex48(short a, short b, short c)
public SmartStringBuilder hex64(byte a, byte b, byte c, byte d, byte e, byte f, byte g, byte h)
public SmartStringBuilder hex64(short a, short b, short c, short d)
public SmartStringBuilder hex64(int a, int b)
public SmartStringBuilder hex64(long a)
public SmartStringBuilder hex96(byte a, byte b, byte c, byte d, byte e, byte f, byte g, byte h, byte i, byte j, byte k, byte l)
public SmartStringBuilder hex96(short a, short b, short c, short d, short e, short f)
public SmartStringBuilder hex96(int a, int b, int c)
public SmartStringBuilder hex128(byte a, byte b, byte c, byte d, byte e, byte f, byte g, byte h, byte i, byte j, byte k, byte l, byte m, byte n, byte o, byte p)
public SmartStringBuilder hex128(short a, short b, short c, short d, short e, short f, short g, short h)
public SmartStringBuilder hex128(int a, int b, int c, int d)
public SmartStringBuilder hex128(long a, long b)