Package com.vladsch.flexmark.util.misc
Class DelimitedBuilder
java.lang.Object
com.vladsch.flexmark.util.misc.DelimitedBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private int
private StringBuilder
private boolean
-
Constructor Summary
ConstructorsConstructorDescriptionDelimitedBuilder
(String delimiter) DelimitedBuilder
(String delimiter, int capacity) -
Method Summary
Modifier and TypeMethodDescriptionappend
(boolean v) append
(char v) append
(char[] v) append
(char[] v, int start, int end) append
(double v) append
(float v) append
(int v) append
(long v) append
(CharSequence v, int start, int end) <V> DelimitedBuilder
<V> DelimitedBuilder
<V> DelimitedBuilder
<V> DelimitedBuilder
<V> DelimitedBuilder
<V> DelimitedBuilder
<V> DelimitedBuilder
appendAll
(V[] v) <V> DelimitedBuilder
appendAll
(V[] v, int start, int end) appendCodePoint
(int codePoint) clear()
private void
boolean
isEmpty()
mark()
pop()
push()
toString()
unmark()
-
Field Details
-
delimiter
-
out
-
pending
private boolean pending -
lastLen
private int lastLen -
delimiterStack
-
-
Constructor Details
-
DelimitedBuilder
public DelimitedBuilder() -
DelimitedBuilder
-
DelimitedBuilder
-
-
Method Details
-
toString
-
isEmpty
public boolean isEmpty() -
getAndClear
-
clear
-
toStringOrNull
-
mark
-
unmark
-
push
-
push
-
pop
-
doPending
private void doPending() -
append
-
append
-
append
-
append
-
append
-
append
-
append
-
append
-
append
-
append
-
append
-
append
-
append
-
appendCodePoint
-
appendAll
-
appendAll
-
appendAll
-
appendAll
-
appendAll
-
appendAll
-
appendAll
-
appendAll
-