Package one.microstream.chars
Class SimpleStringConcatenator
- java.lang.Object
-
- one.microstream.chars.SimpleStringConcatenator
-
public class SimpleStringConcatenator extends Object
-
-
Constructor Summary
Constructors Constructor Description SimpleStringConcatenator(String[] parts)
SimpleStringConcatenator(String[] parts, float reservedValueCharacterFactor)
SimpleStringConcatenator(String[] parts, int reservedValueCharacterCount)
-
Method Summary
Modifier and Type Method Description StringBuilder
assemble(Object... values)
StringBuilder
assemble(StringBuilder sb, Object... values)
static StringBuilder
assemble(StringBuilder sb, String[] parts, Object... values)
String[]
getParts()
int
getReservedCharCount()
void
setReservedCharCount(int reservedCharCount)
-
-
-
Constructor Detail
-
SimpleStringConcatenator
public SimpleStringConcatenator(String[] parts)
-
SimpleStringConcatenator
public SimpleStringConcatenator(String[] parts, int reservedValueCharacterCount)
-
SimpleStringConcatenator
public SimpleStringConcatenator(String[] parts, float reservedValueCharacterFactor)
-
-
Method Detail
-
assemble
public static StringBuilder assemble(StringBuilder sb, String[] parts, Object... values)
-
getReservedCharCount
public int getReservedCharCount()
-
getParts
public String[] getParts()
-
setReservedCharCount
public void setReservedCharCount(int reservedCharCount)
-
assemble
public StringBuilder assemble(Object... values)
-
assemble
public StringBuilder assemble(StringBuilder sb, Object... values)
-
-