Package one.microstream.chars
Interface VarString.Appendable
- Enclosing class:
- VarString
public static interface VarString.Appendable
Implementors of this interface handle appending their specific string representation directly.
This is useful for preventing the instantiation and copying of potentially large temporary strings which can have unnecessary and devastatingly negative effects on performance.
Note that
This is useful for preventing the instantiation and copying of potentially large temporary strings which can have unnecessary and devastatingly negative effects on performance.
Note that
Appendable
has a misleading name: it should properly be called "Appending",
as implementors of it can append things. Actually being "appendable" is what is defined by THIS interface.
One of countless design errors in the JDK.