IWritableCharSequence¶
-
public interface
IWritableCharSequenceextends ICharacterWriter, CharSequence, Closeable, IAutoCloseable¶ Interface representing a CharSequence that can be written to. It must implement close even if it is a NOOP function.
Methods¶
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. Note that the result of this will be cached. Changing values at runtime is not supported.
Returns: True if this buffer is restricted to the initial capacity. False otherwise.