IWritableCharSequence¶
-
public interface
IWritableCharSequenceextends CharSequence, Closeable, AutoCloseable¶ Interface representing a CharSequence that can be written to. It must implement close even if it is a NOOP function.
Methods¶
append¶
-
void
append(char parChar)¶ Append a character to the sequence of characters.
Parameters: - parChar – The character to append.
Throws: - IOException – On write failure.
isRestrictedToCapacity¶
-
boolean
isRestrictedToCapacity()¶ Check if this buffer is restricted to the initial capacity. If it is, we will create more buffers before going over the initial capacity. If it is not, we will expect it to handle resizing itself.
Returns: True if this buffer is restricted to the initial capacity. False otherwise.